summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/nvim-tree.lua
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2022-07-29 17:51:29 +0200
committerGitHub <noreply@github.com>2022-07-29 17:51:29 +0200
commit85d7d7de20b6330528c5b7c0243c3afcc5266711 (patch)
tree5731a5f2c934fe2da5b79aef24f708590af67ae0 /lua/no-clown-fiesta/nvim-tree.lua
parentda502c2571b710791b29c82a77cbe577791b14df (diff)
Update configuration api (#5)
* Refactor * Fix opts * Fix plugin typos * Update readme
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