bash-language-server
bash-language-server copied to clipboard
Command-line flags are not autocompleted correctly.
Code editor
nvim
Platform
Linux
Version
5.1.2
What steps will reproduce the bug?
- Open a shell script.
- Type command and invoke autocompletion for the flags.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Flags are autocompleted correctly.
What do you see instead?
The first character after hyphen is ignored when accepting the autocompletion.
Additional information
Here's a video demonstrating the bug.
https://github.com/bash-lsp/bash-language-server/assets/31820255/777dd1b7-f4bd-4343-af69-b146106956b0