Open Jasha10 opened 2 years ago
Yes. It's expected for now. The reason why is that the doesn't work case will make false positive completion.
I can introduce option but I can't think for that name...
I can introduce option but I can't think for that name...
You mean what the option should be called? Maybe something like "require_leading_slash
"?
@hrsh7th How are current triggers set? Maybe just expose that? Could be called trigger_characters
or something like that.
Yes. It's expected for now. The reason why is that the doesn't work case will make false positive completion.
I can introduce option but I can't think for that name...
How will it make false positive completion? Vim's built in file completion (ControlX ControlF) does not have this issue. I believe this should be the default behaviour.
It seems that the plugin only matches paths starting with
.
or/
or~
. I'd like to have completion for any relative path, even if it starts with a letter or number.For example:
./foo/bar.txt
- completion works/foo/bar.txt
- completion works~/foo/bar.txt
- completion worksfoo/bar.txt
- completion does not work!