-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
LSP Autocompletion does not insert, it overwrites #4380
Comments
I think this is fixed by #1819 |
This is actually not a bug at all but rather a missing feature in helix. The LSP spec let's the editor decide here and suggests a config option. helix/helix-term/src/ui/completion.rs Line 120 in 927fa11
|
@pascalkuthe I see you are looking at the LSP at the moment with #5711 , can you do anything about this issue? In my experience replace behaves more like a bug than a missing feature:
@the-mikedavis What do you think? |
It's just a missing config option. Both VSCode and nvim can be configured to act the same way as helix and the LSP standard specifically acommedatde both options. It's just a case of helix having a different default. As I said in #5676 I also prefer insert as the default behavior. Not sure what @archseer thinks about changing the default. I will look into adding a config option. I am travelling this weekend but I can look I to this next week |
#5728 adds the option I described (and fixes some other completion related things). I changed the default in that PR and laid out why I think it's a better/more consistent default. |
Summary
Helix
helix.webm
Neovim
neovim.webm
Not only does Helix wrongly overwrite
width
it is also one character short of the end so when immediately typing.
it becomesrectangl.e
Reproduction Steps
na
Helix log
na
Platform
Linux
Terminal Emulator
KItty
Helix Version
helix 22.08.1 (418a622)
The text was updated successfully, but these errors were encountered: