josa42 / coc-sh

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

disable coc-sh for .bashrc #69

Closed laoshaw closed 1 year ago

laoshaw commented 1 year ago

how to disable that, my bashrc is a large file and coc-sh made it really slow.

josa42 commented 1 year ago

You could disable coc.nvim with an auto command:

autocmd BufNew,BufRead .bashrc CocDisable

Or add disable coc-sh for you home directory by adding this to the local config:

~/.vim/coc-settings.json

{
  "sh.enable": false
}