-
Notifications
You must be signed in to change notification settings - Fork 433
/
nvim-tree.lua
25 lines (22 loc) · 956 Bytes
/
nvim-tree.lua
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
local M = {}
M.url = "https://github.com/kyazdani42/nvim-tree.lua"
---@type tokyonight.HighlightsFn
function M.get(c, opts)
-- stylua: ignore
return {
NvimTreeFolderIcon = { bg = c.none, fg = c.blue },
NvimTreeGitDeleted = { fg = c.git.delete },
NvimTreeGitDirty = { fg = c.git.change },
NvimTreeGitNew = { fg = c.git.add },
NvimTreeImageFile = { fg = c.fg_sidebar },
NvimTreeIndentMarker = { fg = c.fg_gutter },
NvimTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NvimTreeNormalNC = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NvimTreeOpenedFile = { bg = c.bg_highlight },
NvimTreeRootFolder = { fg = c.blue, bold = true },
NvimTreeSpecialFile = { fg = c.purple, underline = true },
NvimTreeSymlink = { fg = c.blue },
NvimTreeWinSeparator = { fg = opts.styles.sidebars == "transparent" and c.border or c.bg_sidebar, bg = c.bg_sidebar },
}
end
return M