summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group/nvim-tree.lua')
-rw-r--r--lua/no-clown-fiesta/highlight-group/nvim-tree.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
new file mode 100644
index 0000000..ffe7897
--- /dev/null
+++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
@@ -0,0 +1,38 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ NvimTreeFolderIcon = { fg = palette.white },
+ NvimTreeIndentMarker = { fg = palette.alt_bg },
+ NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg },
+ NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeFolderName = { fg = palette.white },
+ NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" },
+ NvimTreeEmptyFolderName = { fg = palette.medium_gray },
+ NvimTreeGitIgnored = { fg = palette.medium_gray },
+ NvimTreeImageFile = { fg = palette.light_gray },
+ NvimTreeSpecialFile = { fg = palette.orange },
+ NvimTreeEndOfBuffer = { fg = palette.alt_bg },
+ NvimTreeCursorLine = { bg = palette.accent },
+ NvimTreeGitignoreIcon = { fg = palette.red },
+ NvimTreeGitStaged = { fg = palette.cyan },
+ NvimTreeGitNew = { fg = palette.cyan },
+ NvimTreeGitRenamed = { fg = palette.cyan },
+ NvimTreeGitDeleted = { fg = palette.sign_delete },
+ NvimTreeGitMerge = { fg = palette.info_yellow },
+ NvimTreeGitDirty = { fg = palette.info_yellow },
+ NvimTreeSymlink = { fg = palette.cyan },
+ NvimTreeRootFolder = { fg = palette.fg, style = "bold" },
+ NvimTreeExecFile = { fg = palette.green },
+ NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeStatusNC = { fg = palette.alt_bg, bg = palette.alt_bg },
+ NvimTreeLspDiagnosticsErr = { fg = palette.error_red },
+ NvimTreeLspDiagnosticsError = { fg = palette.error_red },
+ NvimTreeLspDiagnosticsHint = { fg = palette.hint_blue },
+ NvimTreeLspDiagnosticsInformation = { fg = palette.info_yellow },
+ NvimTreeLspDiagnosticsWarning = { fg = palette.warning_orange },
+ }
+end
+
+return M