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
3 years ago
|
local M = {}
|
||
|
|
||
2 years ago
|
function M.get()
|
||
3 years ago
|
local config = require("catppuccin.config").options
|
||
3 years ago
|
local nvimtree = config.integrations.nvimtree
|
||
3 years ago
|
|
||
3 years ago
|
local root_dir_color = cp.mantle
|
||
3 years ago
|
if nvimtree.show_root == true then
|
||
3 years ago
|
root_dir_color = cp.blue
|
||
3 years ago
|
end
|
||
3 years ago
|
|
||
3 years ago
|
return {
|
||
3 years ago
|
NvimTreeFolderName = { fg = cp.blue },
|
||
|
NvimTreeFolderIcon = { fg = cp.blue },
|
||
3 years ago
|
NvimTreeNormal = { fg = cp.text, bg = nvimtree.transparent_panel and "NONE" or cp.mantle },
|
||
3 years ago
|
NvimTreeOpenedFolderName = { fg = cp.blue },
|
||
|
NvimTreeEmptyFolderName = { fg = cp.blue },
|
||
3 years ago
|
NvimTreeIndentMarker = { fg = cp.overlay0 },
|
||
3 years ago
|
NvimTreeVertSplit = { fg = cp.base, bg = cp.base },
|
||
2 years ago
|
NvimTreeRootFolder = { fg = root_dir_color, style = { "bold" } },
|
||
3 years ago
|
NvimTreeSymlink = { fg = cp.pink },
|
||
3 years ago
|
NvimTreeStatuslineNc = { fg = cp.mantle, bg = cp.mantle },
|
||
3 years ago
|
NvimTreeGitDirty = { fg = cp.yellow },
|
||
|
NvimTreeGitNew = { fg = cp.blue },
|
||
|
NvimTreeGitDeleted = { fg = cp.red },
|
||
|
NvimTreeSpecialFile = { fg = cp.flamingo },
|
||
3 years ago
|
NvimTreeImageFile = { fg = cp.text },
|
||
3 years ago
|
NvimTreeOpenedFile = { fg = cp.pink },
|
||
3 years ago
|
}
|
||
3 years ago
|
end
|
||
|
|
||
|
return M
|