make linking of default groups for tree style and add docs
This commit is contained in:
@@ -32,9 +32,15 @@ local HIGHLIGHTS = {
|
||||
GitStaged = { fg = colors.green },
|
||||
GitMerge = { fg = colors.orange },
|
||||
GitRenamed = { fg = colors.purple },
|
||||
GitNew = { fg = colors.yellow },
|
||||
GitNew = { fg = colors.yellow }
|
||||
}
|
||||
|
||||
EndOfBuffer = { fg = 'bg' }
|
||||
local LINKS = {
|
||||
Normal = 'Normal',
|
||||
EndOfBuffer = 'EndOfBuffer',
|
||||
CursorLine = 'CursorLine',
|
||||
VertSplit = 'VertSplit',
|
||||
CursorColumn = 'CursorColumn'
|
||||
}
|
||||
|
||||
local function init_colors()
|
||||
@@ -42,6 +48,10 @@ local function init_colors()
|
||||
local gui = d.gui or 'NONE'
|
||||
vim.api.nvim_command('hi def LuaTree'..k..' gui='..gui..' guifg='..d.fg)
|
||||
end
|
||||
|
||||
for k, d in pairs(LINKS) do
|
||||
vim.api.nvim_command('hi def link LuaTree'..k..' '..d)
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user