mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
Lua
33 lines
1.0 KiB
Lua
local M = {}
|
|
|
|
function M.get()
|
|
local config = require("catppuccin.config").options
|
|
local nvimtree = config.integrations.nvimtree
|
|
|
|
local root_dir_color = cp.mantle
|
|
if nvimtree.show_root == true then
|
|
root_dir_color = cp.blue
|
|
end
|
|
|
|
return {
|
|
NvimTreeFolderName = { fg = cp.blue },
|
|
NvimTreeFolderIcon = { fg = cp.blue },
|
|
NvimTreeNormal = { fg = cp.text, bg = nvimtree.transparent_panel and "NONE" or cp.mantle },
|
|
NvimTreeOpenedFolderName = { fg = cp.blue },
|
|
NvimTreeEmptyFolderName = { fg = cp.blue },
|
|
NvimTreeIndentMarker = { fg = cp.overlay0 },
|
|
NvimTreeVertSplit = { fg = cp.base, bg = cp.base },
|
|
NvimTreeRootFolder = { fg = root_dir_color, style = { "bold" } },
|
|
NvimTreeSymlink = { fg = cp.pink },
|
|
NvimTreeStatuslineNc = { fg = cp.mantle, bg = cp.mantle },
|
|
NvimTreeGitDirty = { fg = cp.yellow },
|
|
NvimTreeGitNew = { fg = cp.blue },
|
|
NvimTreeGitDeleted = { fg = cp.red },
|
|
NvimTreeSpecialFile = { fg = cp.flamingo },
|
|
NvimTreeImageFile = { fg = cp.text },
|
|
NvimTreeOpenedFile = { fg = cp.pink },
|
|
}
|
|
end
|
|
|
|
return M
|