add coc support

This commit is contained in:
Michael Chris Lopez
2021-08-29 08:33:27 +08:00
parent ec34a0f601
commit 5a84127008
3 changed files with 79 additions and 50 deletions

View File

@@ -257,6 +257,20 @@ local theme = lush(function()
BufferVisible { fg = StatusLineNC.fg },
BufferVisibleSign { fg = StatusLineNC.fg },
BufferVisibleIndex { fg = StatusLineNC.fg },
CocErrorSign { LspDiagnosticsDefaultError },
CocWarningSign { LspDiagnosticsDefaultWarning },
CocInfoSign { LspDiagnosticsDefaultInformation },
CocHintSign { LspDiagnosticsDefaultHint },
CocErrorHighlight { CocErrorSign, gui = "underline" },
CocWarningHighlight { CocWarningSign, gui = "underline" },
CocInfoHighlight { CocInfoSign, gui = "underline" },
CocHintHighlight { CocHintSign, gui = "underline" },
CocErrorVirtualText { LspDiagnosticsVirtualTextError },
CocWarningVitualText { LspDiagnosticsVirtualTextWarning },
CocSelectedText { SpellBad },
CocCodeLens { LineNr },
CocMarkdownLink { fg = c.sky, gui = "underline" }
}
end)
-- stylua: ignore end