Closed cogig closed 4 years ago
Thanks for your reply.My coc-setting.json snippet about diagnostic is as follow.
"diagnostic.enable": true,
"coc.preferences.diagnostic.displayByAle":true,
If setting "diagnostic.enable": false
,the action will close diagnostics funtion for other programming languages.All i want to do is that making coc.nvim and ale.vim work together.And I'm used to using cppcheck as linter for cpp and c.
You mean coc-clangd
to disable diagnostics only?
Yes,coc-python offers python.analysis.diagnosticEnabled
to disable diagnostics only, and if coc-clangd does what coc-python do,it maybe even better.
Use clangd.disableDiagnostics
to disable diagnostics.
Set
"diagnostic.enable": false
in your coc-settings.json.