bash-language-server icon indicating copy to clipboard operation
bash-language-server copied to clipboard

Command-line flags are not autocompleted correctly.

Open UtkarshVerma opened this issue 1 year ago • 0 comments

Code editor

nvim

Platform

Linux

Version

5.1.2

What steps will reproduce the bug?

  1. Open a shell script.
  2. 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

UtkarshVerma avatar Mar 13 '24 08:03 UtkarshVerma