bash-lsp / bash-language-server

A language server for Bash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command-line flags are not autocompleted correctly.

UtkarshVerma opened this issue · 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.

2024-03-13_13-09-34.mp4