feat (#26): added nvim-ts-rainbow integration

dev-doc
Pocco81 3 years ago
parent b9c6ca6b2e
commit 8f4e7e8daf

@ -42,6 +42,7 @@ config.options = {
bufferline = false, bufferline = false,
markdown = false, markdown = false,
lightspeed = false, lightspeed = false,
ts_rainbow = false,
}, },
} }

@ -0,0 +1,15 @@
local M = {}
function M.get(cpt)
return {
rainbowcol1 = {bg = cpt.bg, fg = cpt.red},
rainbowcol2 = {bg = cpt.bg, fg = cpt.green},
rainbowcol3 = {bg = cpt.bg, fg = cpt.yellow},
rainbowcol4 = {bg = cpt.bg, fg = cpt.blue},
rainbowcol5 = {bg = cpt.bg, fg = cpt.magenta},
rainbowcol6 = {bg = cpt.bg, fg = cpt.cyan},
rainbowcol7 = {bg = cpt.bg, fg = cpt.white},
}
end
return M
Loading…
Cancel
Save