feat: add support for transparent nvimtree

dev
Pocco81 3 years ago
parent baf9a2c5d8
commit 652dd12d62

@ -37,6 +37,7 @@ config.options = {
nvimtree = { nvimtree = {
enabled = true, enabled = true,
show_root = false, show_root = false,
transparent_panel = false,
}, },
which_key = false, which_key = false,
indent_blankline = { indent_blankline = {

@ -9,10 +9,11 @@ function M.get(cp)
root_dir_color = cp.blue root_dir_color = cp.blue
end end
return { return {
NvimTreeFolderName = { fg = cp.blue }, NvimTreeFolderName = { fg = cp.blue },
NvimTreeFolderIcon = { 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 }, NvimTreeOpenedFolderName = { fg = cp.blue },
NvimTreeEmptyFolderName = { fg = cp.blue }, NvimTreeEmptyFolderName = { fg = cp.blue },
NvimTreeIndentMarker = { fg = cp.gray0 }, NvimTreeIndentMarker = { fg = cp.gray0 },

Loading…
Cancel
Save