Merge pull request #158 from vinibispo/feat/add-coc-nvim-support

feat: coc.nvim support
dev
Pocco81 2 years ago committed by GitHub
commit ffd6f3e104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,6 +115,7 @@ integrations = {
information = "underline", information = "underline",
}, },
}, },
coc_nvim = false,
lsp_trouble = false, lsp_trouble = false,
cmp = true, cmp = true,
lsp_saga = false, lsp_saga = false,

@ -35,6 +35,7 @@ config.options = {
information = "underline", information = "underline",
}, },
}, },
coc_nvim = false,
lsp_trouble = false, lsp_trouble = false,
cmp = true, cmp = true,
lsp_saga = false, lsp_saga = false,

@ -0,0 +1,27 @@
local M = {}
local util = require("catppuccin.utils.util")
function M.get(cp)
local error = cp.red
local warning = cp.yellow
local info = cp.sky
local hint = cp.teal
return {
-- These groups are for the coc.nvim, the documentation is here (https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt#L2365).
CocErrorHighlight = { fg = error },
CocErrorSign = { fg = error },
CocErrorVirtualText = { fg = error },
CocHintHighlight = { fg = hint },
CocHintSign = { fg = hint },
CocHintVirtualText = { fg = hint },
CocInfoHighlight = { fg = info },
CocInfoSign = { fg = info },
CocInfoVirtualText = { fg = info },
CocWarningHighlight = { fg = warning },
CocWarningSign = { fg = warning },
}
end
return M
Loading…
Cancel
Save