mirror of https://github.com/sgoudham/nvim.git
feat(coc_nvim): add integration with coc_nvim
parent
d46425163d
commit
311be0a092
@ -0,0 +1,25 @@
|
||||
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 documentation (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
|
Loading…
Reference in New Issue