summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
blob: c110435e72b892688af7b47c24437766b2aed435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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, bold = true },
    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 },
    NvimTreeGitDirty = { fg = palette.info },
    NvimTreeSymlink = { fg = palette.cyan },
    NvimTreeRootFolder = { fg = palette.fg, bold = true },
    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 },
    NvimTreeLspDiagnosticsError = { fg = palette.error },
    NvimTreeLspDiagnosticsHint = { fg = palette.hint },
    NvimTreeLspDiagnosticsInformation = { fg = palette.info },
    NvimTreeLspDiagnosticsWarning = { fg = palette.warning },
  }
end

return M