This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
more flexible goto_file
#8824
Labels
You can continue the conversation there. Go to discussion →
goto_file
#8824
After opening #8822 I noticed that there are more things I miss from
vim
in regard togf
..
punctuation after a path, e.g.,path,
or"path";
should openpath
and notpath,
andpath";
respectively, if you want the latter behavior it is easy enough to just do af,gf
. (maybe we could have a config option for what characters are path, likeisfname
in VIM)suffixesadd
(VIM) like list of extensions to try.includeexpr
which allows transforming a path by replacing characters, i.e.,.
with/
in java imports. (This is applied after the normal behavior failed.) This might be best implemented when the scripting support lands, though we could also just have aregex, replacements
tuple that would probably already cover most things.Not every file has an LSP, and this just allows navigating these almost as if one had one.
The text was updated successfully, but these errors were encountered: