Make logic less complicated

This commit is contained in:
Iron_E 2020-06-23 23:16:17 -04:00
parent 2e189530ee
commit 68e2401837
No known key found for this signature in database
GPG Key ID: B0B37DE7EDC2335F
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ local highlights = {
NERDTreeLinkTarget = {link='Tag' }, NERDTreeLinkTarget = {link='Tag' },
} }
if vim.api.nvim_call_function('has', {'nvim-0.5'}) then if vim.lsp then
highlights.LspDiagnosticsError = {link='CocErrorHighlight'} highlights.LspDiagnosticsError = {link='CocErrorHighlight'}
highlights.LspDiagnosticsErrorFloating = {link='ErrorMsg'} highlights.LspDiagnosticsErrorFloating = {link='ErrorMsg'}
highlights.LspDiagnosticsErrorSign = {link='CocErrorSign'} highlights.LspDiagnosticsErrorSign = {link='CocErrorSign'}