Coc.nvim: disable signcolumn only for hints

Created on 15 Feb 2020  ·  3Comments  ·  Source: neoclide/coc.nvim

Describe the solution you'd like
maybe something like this in coc-settings.json:

"diagnostic.hintSignColumn": false

or

"diagnostic.enableHintSign": false

as this option currently only available for all kinds of signs with "diagnostic.enableSign": false but maybe I'm missing something.

All 3 comments

Check diagnostic.level.

I don't want to disable hint entirely, I just want to disable it in the signcolumn.

In case anyone cares, I found a workaround that works for me.

in init.vim:

" always show the signcolumn
autocmd BufRead,BufNewFile * setlocal signcolumn=yes
" remove the color from the signColumn
autocmd BufRead,BufNewFile * highlight clear SignColumn

And in coc-settings.json:

 "diagnostic.hintSign": ""
Was this page helpful?
0 / 5 - 0 ratings

Related issues

zhou13 picture zhou13  ·  3Comments

svenstaro picture svenstaro  ·  4Comments

aareman picture aareman  ·  3Comments

albertorestifo picture albertorestifo  ·  4Comments

rkulla picture rkulla  ·  3Comments