Files
Astrobox/lua/astrobox/highlights/modules/neo-tree.lua

33 lines
1.3 KiB
Lua

---@param theme Theme
---@param palette Palette
return function(theme, palette)
return {
NeoTreeDirectoryIcon = { link = "Directory" },
NeoTreeRootName = theme.files.root,
NeoTreeFileName = theme.files.file,
NeoTreeFileIcon = { link = "NeoTreeFileName" },
NeoTreeIndentMarker = theme.inactive,
NeoTreeGitAdded = theme.diff.normal.add,
NeoTreeGitConflict = theme.diff.normal.merge,
NeoTreeGitDeleted = theme.diff.normal.del,
NeoTreeGitIgnored = theme.inactive,
NeoTreeGitModified = theme.diff.normal.orange,
NeoTreeGitRenamed = { link = "NeoTreeGitModified" },
NeoTreeGitStaged = theme.diff.normal.staged,
NeoTreeGitUntracked = theme.diff.normal.text,
NeoTreeGitUnstaged = { link = "NeoTreeFileName" },
NeoTreeCursorLine = theme.selection,
NeoTreeFloatBorder = theme.popup.border,
NeoTreeFloatTitle = theme.popup.title,
NeoTreeSymbolicLinkTarget = { fg = palette.aqua },
NeoTreeTabActive = theme.statusbar.inactive,
NeoTreeTabSeparatorActive = theme.statusbar.inactive,
NeoTreeTabInactive = theme.winbar.inactive,
NeoTreeTabSeparatorInactive = theme.winbar.inactive,
NeoTreeTitleBar = theme.popup.title2,
}
end