mirror of https://github.com/sgoudham/nvim.git
feat: colored indent levels for indent blankline
parent
e92093c557
commit
f5e342ac17
@ -1,9 +1,21 @@
|
|||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
function M.get(cpt)
|
function M.get(cpt)
|
||||||
return {
|
|
||||||
|
local hi = {
|
||||||
IndentBlanklineChar = { fg = cpt.gray },
|
IndentBlanklineChar = { fg = cpt.gray },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if cpc.integrations.indent_blankline.colored_indent_levels then
|
||||||
|
hi["IndentBlanklineIndent6"] = {blend = "nocombine", fg = cpt.yellow}
|
||||||
|
hi["IndentBlanklineIndent5"] = {blend = "nocombine", fg = cpt.red}
|
||||||
|
hi["IndentBlanklineIndent4"] = {blend = "nocombine", fg = cpt.green}
|
||||||
|
hi["IndentBlanklineIndent3"] = {blend = "nocombine", fg = cpt.orange}
|
||||||
|
hi["IndentBlanklineIndent2"] = {blend = "nocombine", fg = cpt.blue}
|
||||||
|
hi["IndentBlanklineIndent1"] = {blend = "nocombine", fg = cpt.magenta}
|
||||||
|
end
|
||||||
|
|
||||||
|
return hi
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue