Description
helix 22.12 (96ff64a8)
Neovim 0.8 using latest [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
bash-language-server@4.1.3
ShellCheck version: 0.8.0
Code actions are sometimes (seems random) working in Neovim, but not in Helix.
Neovim seems to have no special default settings making it different from default Helix:
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bashls
https://github.com/helix-editor/helix/blob/63dcaae1b9083396fb3faaef9eaa2421f7e48fb9/languages.toml#L537
The following code (sometimes) generates code actions in Neovim 0.8 using the built-in LSP and the ShellCheck
binary in the system path:
#!/bin/bash
echo $1 # Unquoted variables
[ $n && $m ] # && in [ .. ]
[ x ] & [ y ] | [ z ] # Accidental backgrounding and piping
But in Helix is just says no code actions available
when going to the diagnostic error.
The code action lightbulb https://github.com/kosayoda/nvim-lightbulb only comes on sometimes in Neovim indicating there is something buggy going on in bash-language server. Also I see another issue with code actions that is probably related here: #490 (comment)
Thanks for this great language server!