ANDuser
ANDuser

Reputation: 121

nVim disable error detection of coc plugin

I use neovim with coc.nvim for auto-completion of code, but I don't like this error detection [I don't mean its bad], I only want to disable this grey like with red >> on the left of line numbers (no problem with red line numbers)

enter image description here


How can I disable it,

Upvotes: 1

Views: 1959

Answers (1)

youkwhd
youkwhd

Reputation: 25

put this in your init.vim file:

let b:coc_diagnostic_disable=1

if the error detection still present, edit your coc-settings.json file, it's located on the same location of your init.vim usually at ~/.config/nvim, add this line:

{
  "diagnostic.enable": false
}

Upvotes: 1

Related Questions