moll / vim-node

Tools and environment to make Vim superb for developing with Node.js. Like Rails.vim for Node.
http://www.vim.org/scripts/script.php?script_id=4674
Other
807 stars 59 forks source link

it should process more smartly 'gf' on dirs #49

Open alex-shamshurin opened 5 years ago

alex-shamshurin commented 5 years ago

I think when we pressing gf on a 'somePath' which is a directory itself and contains 'index.js' file, which in turn contains only one line like export { default } from './somePath' it should open it instead of 'index.js