Coc.nvim: how to change the diagnosign in lightline?

Created on 24 Mar 2020  路  6Comments  路  Source: neoclide/coc.nvim

how to change the diagnosign in lightline?
鎴睆2020-03-24涓嬪崍7 06 08

question

All 6 comments

Use CocDiagnosticChange (check :h CocDiagnosticChange) to call lightline#update() to refresh lightline when there's new diagnostics. Check wiki information and lightline docs. As for setting symbols, this is a question for lightline documentation.

Checkout :h coc-status-manual

fix this by let g:coc_status_error_sign = 'E:'

None of these suggestions work. I want the feedback (using lightline, coc#status works in it), however, on the mac these characters use up two widths, causing statusline length calculations to be off by one, and completely breaking neovim rendering.

I will note that regular vim does not break as badly here. This is sorta neovim specific. It may also be tmux specific.

But we need a way to configure this...

You can create function yourself by make use exported variable

I think i complained too soon, sorry about that. It's a bit tough to really get down to what's causing the problem. I will test more without the status showing and also try to make a basic custom status function.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

npearson72 picture npearson72  路  3Comments

MacGuffinLife picture MacGuffinLife  路  4Comments

LinArcX picture LinArcX  路  4Comments

aareman picture aareman  路  3Comments

zhou13 picture zhou13  路  3Comments