Path completion: Redundant directories when accepting path suggestions several times #919
Unanswered
vincentarelbundock
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am new to
blink
and am having an issue with path completion while using Neovim andblink.cmp
as completion engine.Typing C-y multiple times to accept path completions sequentially results in invalid paths with redundant directories.
Imagine that I want to open
hello/world/foo/file.txt
with:e
hell
.hello/world
.hello/world
by pressingCtrl-Y
.hello/world/foo
and the suggestion appears correctly.Ctrl-Y
again to accepthello/world/foo
, my path becomeshello/hello/world/foo
, duplicating thehello
directory.This results in a non-existent path and disrupts my workflow. Has anyone experienced a similar issue or can anyone provide guidance on how to fix this behavior?
What I would like is the typical shell experience, where you can type a few characters, then Tab to complete that directory, then a few more characters, sequentially to get to the full path. (But the completion key can remain
C-y
.)Any advice or suggestions would be greatly appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions