coc-sh icon indicating copy to clipboard operation
coc-sh copied to clipboard

I don't get any shellchecks

Open Archie-2021 opened this issue 1 year ago • 2 comments

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

Archie-2021 avatar Mar 15 '24 05:03 Archie-2021

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

brainwo avatar Jun 07 '24 21:06 brainwo

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.

laoshaw avatar Aug 16 '24 19:08 laoshaw