feat: add support for transparent nvimtree

dev
Pocco81 3 years ago
parent baf9a2c5d8
commit 652dd12d62

@ -37,6 +37,7 @@ config.options = {
nvimtree = {
enabled = true,
show_root = false,
transparent_panel = false,
},
which_key = false,
indent_blankline = {
@ -53,8 +54,8 @@ config.options = {
lightspeed = false,
ts_rainbow = false,
hop = false,
notify = true,
telekasten = true,
notify = true,
telekasten = true,
},
}

@ -9,10 +9,11 @@ function M.get(cp)
root_dir_color = cp.blue
end
return {
NvimTreeFolderName = { fg = cp.blue },
NvimTreeFolderIcon = { fg = cp.blue },
NvimTreeNormal = { fg = cp.white, bg = cp.black1 },
NvimTreeNormal = { fg = cp.white, bg = cnf.transparent_panel and "NONE" or cp.black1 },
NvimTreeOpenedFolderName = { fg = cp.blue },
NvimTreeEmptyFolderName = { fg = cp.blue },
NvimTreeIndentMarker = { fg = cp.gray0 },

Loading…
Cancel
Save