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.
nvim/lua/catppuccin/core/integrations/nvimtree.lua

33 lines
1.1 KiB
Lua

local M = {}
function M.get(cp)
3 years ago
local config = require("catppuccin.config").options
3 years ago
local root_dir_color = cp.catppuccin4
if config.integrations.nvimtree.show_root then
3 years ago
root_dir_color = cp.catppuccin9
end
return {
3 years ago
NvimTreeFolderName = { fg = cp.catppuccin9 },
NvimTreeFolderIcon = { fg = cp.catppuccin9 },
NvimTreeNormal = { fg = cp.catppuccin10, bg = cp.catppuccin14 },
3 years ago
NvimTreeOpenedFolderName = { fg = cp.catppuccin9 },
NvimTreeEmptyFolderName = { fg = cp.catppuccin9 },
NvimTreeIndentMarker = { fg = cp.catppuccin11 },
NvimTreeVertSplit = { fg = cp.catppuccin1, bg = cp.catppuccin1 },
NvimTreeRootFolder = { fg = root_dir_color, style = "bold" },
3 years ago
NvimTreeSymlink = { fg = cp.catppuccin4 },
NvimTreeStatuslineNc = { fg = cp.catppuccin14, bg = cp.catppuccin14 },
3 years ago
NvimTreeGitDirty = { fg = cp.catppuccin8 },
NvimTreeGitNew = { fg = cp.catppuccin9 },
NvimTreeGitDeleted = { fg = cp.catppuccin5 },
NvimTreeSpecialFile = { fg = cp.catppuccin2 },
NvimTreeImageFile = { fg = cp.catppuccin10 },
NvimTreeOpenedFile = { fg = cp.catppuccin4 },
}
end
return M