From 2bd6f97229e76bf1247cbe766585f5fcbfd327c8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 30 Jul 2022 17:10:22 +0200 Subject: Move plugin configs to highlight-group dir --- lua/no-clown-fiesta/highlight-group/nvim-tree.lua | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lua/no-clown-fiesta/highlight-group/nvim-tree.lua (limited to 'lua/no-clown-fiesta/highlight-group/nvim-tree.lua') 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 -- cgit v1.2.3-70-g09d2