Closed ms closed 5 years ago
This does work for gf
but it breaks :find
(and similar commands) unfortunately. Maybe I should remap gf
instead of clearing 'path'
?
Yes, remapping gf
is the way to go. I have a companion plugin to do exactly that but it's taking me forever to release it.
Also added basic support for globally installed packages when npm is used.
This is my first foray at modifying a vim plugin after a bit of reading about VimL so I welcome any suggestion for improvement and or criticism. Unsetting the path feels hacky but I don't see an other way to avoid editing directories, having to manually look for the main entry and then gf-ing again on that file.