summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/nvim-tree.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-29 17:19:06 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-29 17:19:06 +0200
commit6859908ddee41f7b0121f3c2e3ef2262875291ba (patch)
tree1108474a0c51bd299dba9b3e469b0c4af72c9aab /lua/no-clown-fiesta/nvim-tree.lua
parentda502c2571b710791b29c82a77cbe577791b14df (diff)
Refactoradd/config
Diffstat (limited to 'lua/no-clown-fiesta/nvim-tree.lua')
-rw-r--r--lua/no-clown-fiesta/nvim-tree.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/nvim-tree.lua b/lua/no-clown-fiesta/nvim-tree.lua
new file mode 100644
index 0000000..ffe7897
--- /dev/null
+++ b/lua/no-clown-fiesta/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