New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line tab completion doesn't handle nested paths #911
Comments
This is great - my only tiny complaint now is that it doesn't offer file names as completions after the second nest (ie, files inside Edit : aha, it doesn't offer ANY completions below the second nest, I'm guessing there's no logic here to reload the suggestions as you proceed down a given path. |
Strange, it seems to offer completions below the second nest for me. Maybe also try #908? |
To be aware, Vim's default wildmenu isn't very efficient. There are numerous wildmenu plugins available. We can emulate such plugins to implement our cmdline. Early attempt (If we implement cmdline-related events in nvim ourselves, we can cancel ext_cmdline. Then potential issues caused by neovim/neovim#28800 (comment) can be avoided. Interesting.) |
Fixed by #2001 |
Reproduce :
Open
schema.sql
tables/
)Select some lines of text
Open the command line :
Start a command that uses a path e.g. w
Start to type a path that exists inside the directory of the current buffer
schema.sql
datab
database/
Hit Tab
At this point, I was trying to reproduce this in a temp folder, and it was behaving differently to the tree where I noticed it...
At this point the command line contains
tabl
tables/
as a completion (andschema.sql
)tables/
to the existing pathtables/
tables/
as a completion (alongside other items in the folder)database/
withtables/
tables/
andschema.sql
as completionsThe text was updated successfully, but these errors were encountered: