josa42 / coc-sh

SH language server extension using bash-language-server for coc.nvim.
MIT License
205 stars 4 forks source link

I don't get any shellchecks #78

Open Archie-2021 opened 5 months ago

Archie-2021 commented 5 months ago

Hello,

I just installed the extensions via :CocInstall coc-sh and it seems like install was successful. But I don't get any shellchecks , only see some addintional results in my autocomplete from bash-language-server. Also don't know how can I get a shellexplain for part of a code I have written. I assumed that everything else is installed automatically from node. Should I install anything additional like packages for shellcheck and shellexplain for it to work? Or should I have to add stuff to coc-setting.conf file?

Thanks

brainwo commented 3 months ago

You need to install shellcheck. It's in the package shellcheck-bin if you use Arch Linux's AUR.

laoshaw commented 2 weeks ago

I had both shellcheck and shfmt installed, neither works and vim does not do lint or reformat. I can run shellcheck or shfmt outside vim just fine and they do the work as expected.