Skip to content

Commit

Permalink
fix(neo-tree): tabs. Fixes #513
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jul 2, 2024
1 parent ef79fd5 commit d25e7b1
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions lua/tokyonight/groups/neo-tree.lua
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
local Util = require("tokyonight.util")

local M = {}

---@type tokyonight.HighlightsFn
function M.get(c, opts)
local dark = Util.blend(c.bg_sidebar, 0.8, opts.style == "day" and c.blue or "#000000")
-- stylua: ignore
return {
NeoTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NeoTreeNormalNC = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NeoTreeDimText = { fg = c.fg_gutter },
NeoTreeGitModified = { fg = c.orange },
NeoTreeGitUntracked = { fg = c.magenta },
NeoTreeGitStaged = { fg = c.green1 },
NeoTreeFileName = { fg = c.fg_sidebar },
NeoTreeDimText = { fg = c.fg_gutter },
NeoTreeFileName = { fg = c.fg_sidebar },
NeoTreeGitModified = { fg = c.orange },
NeoTreeGitStaged = { fg = c.green1 },
NeoTreeGitUntracked = { fg = c.magenta },
NeoTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NeoTreeNormalNC = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NeoTreeTabActive = { fg = c.blue, bg = c.bg_dark, bold = true },
NeoTreeTabInactive = { fg = c.dark3, bg = dark },
NeoTreeTabSeparatorActive = { fg = c.blue, bg = c.bg_dark },
NeoTreeTabSeparatorInactive= { fg = c.bg, bg = dark },
}
end

Expand Down

0 comments on commit d25e7b1

Please sign in to comment.