Make logic less complicated
This commit is contained in:
parent
2e189530ee
commit
68e2401837
|
@ -527,7 +527,7 @@ local highlights = {
|
|||
NERDTreeLinkTarget = {link='Tag' },
|
||||
}
|
||||
|
||||
if vim.api.nvim_call_function('has', {'nvim-0.5'}) then
|
||||
if vim.lsp then
|
||||
highlights.LspDiagnosticsError = {link='CocErrorHighlight'}
|
||||
highlights.LspDiagnosticsErrorFloating = {link='ErrorMsg'}
|
||||
highlights.LspDiagnosticsErrorSign = {link='CocErrorSign'}
|
||||
|
|
Loading…
Reference in New Issue