add coc support

This commit is contained in:
Michael Chris Lopez committed 2021-08-29 08:39:55 +08:00
1 parent ec34a0f601
commit 5a84127008
3 files changed
+79 -50

No files matched your search

+14
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