Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable signcolumn only for hints #1554

Closed
skylite21 opened this issue Feb 15, 2020 · 3 comments
Closed

disable signcolumn only for hints #1554

skylite21 opened this issue Feb 15, 2020 · 3 comments

Comments

@skylite21
Copy link

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.

@fannheyward
Copy link
Member

Check diagnostic.level.

@skylite21
Copy link
Author

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

@skylite21
Copy link
Author

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": ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants