reformat file

dev-doc
Mat Jones 3 years ago
parent 2616c1dac4
commit a1a4212d90
No known key found for this signature in database
GPG Key ID: 176B4EA5B47DEFD5

@ -1,34 +1,34 @@
local M = {} local M = {}
function M.get(cpt) function M.get(cpt)
local config = require("catppuccino.config").options local config = require("catppuccino.config").options
local rootFolderColor = cpt.black local rootFolderColor = cpt.black
if if
config.integrations config.integrations
and config.integrations.nvimtree and config.integrations.nvimtree
and type(config.integrations.nvimtree) == "table" and type(config.integrations.nvimtree) == "table"
and config.integrations.nvimtree.show_root and config.integrations.nvimtree.show_root
then then
rootFolderColor = cpt.blue rootFolderColor = cpt.blue
end end
return { return {
NvimTreeFolderName = {fg = cpt.blue}, NvimTreeFolderName = {fg = cpt.blue},
NvimTreeFolderIcon = {fg = cpt.blue}, NvimTreeFolderIcon = {fg = cpt.blue},
NvimTreeNormal = {fg = cpt.fg, bg = cpt.bg_sidebar}, NvimTreeNormal = {fg = cpt.fg, bg = cpt.bg_sidebar},
NvimTreeOpenedFolderName = {fg = cpt.blue}, NvimTreeOpenedFolderName = {fg = cpt.blue},
NvimTreeEmptyFolderName = {fg = cpt.blue_br}, NvimTreeEmptyFolderName = {fg = cpt.blue_br},
NvimTreeIndentMarker = {fg = cpt.comment}, NvimTreeIndentMarker = {fg = cpt.comment},
NvimTreeVertSplit = {fg = cpt.black, bg = cpt.black}, NvimTreeVertSplit = {fg = cpt.black, bg = cpt.black},
NvimTreeRootFolder = {fg = rootFolderColor, style = "bold"}, NvimTreeRootFolder = {fg = rootFolderColor, style = "bold"},
NvimTreeSymlink = {fg = cpt.magenta}, NvimTreeSymlink = {fg = cpt.magenta},
NvimTreeStatuslineNc = {fg = cpt.black, bg = cpt.black}, NvimTreeStatuslineNc = {fg = cpt.black, bg = cpt.black},
NvimTreeGitDirty = {fg = cpt.git.change}, NvimTreeGitDirty = {fg = cpt.git.change},
NvimTreeGitNew = {fg = cpt.git.add}, NvimTreeGitNew = {fg = cpt.git.add},
NvimTreeGitDeleted = {fg = cpt.git.delete}, NvimTreeGitDeleted = {fg = cpt.git.delete},
NvimTreeSpecialFile = {fg = cpt.cyan}, NvimTreeSpecialFile = {fg = cpt.cyan},
NvimTreeImageFile = {fg = cpt.fg_sidebar}, NvimTreeImageFile = {fg = cpt.fg_sidebar},
NvimTreeOpenedFile = {fg = cpt.magenta}, NvimTreeOpenedFile = {fg = cpt.magenta},
} }
end end
return M return M

Loading…
Cancel
Save