Closed pittcat closed 4 years ago
You can now disable the diagnostics by setting coc.highlightParsingErrors
to false
in you coc-settings.json
(restarting coc is required).
Thank you.
I have update coc-sh to latest version.It seems like that the option to disable diagnostics should be "sh.highlightParsingErrors": false
. Maybe the trick should be written in readme.md. Thank you for your continuous work for coc-sh .
My neovim settings about diagnostic are making ale.vim and coc.nvim cooperation.
For diagnosis of bash language,i think shellcheck is better choice.I plan to disable diagnosis function in coc-settings.json and choose shellcheck in config of ale.vim . Coc-clangd supports the function to disable diagnostics function . https://github.com/clangd/coc-clangd/issues/30 https://github.com/bash-lsp/bash-language-server/issues/13