Add barbar.nvim support

This commit is contained in:
Iron_E 2020-11-15 04:49:48 -05:00
parent 75a421f22c
commit 5450990b37
No known key found for this signature in database
GPG Key ID: B0B37DE7EDC2335F
1 changed files with 23 additions and 4 deletions

View File

@ -290,10 +290,10 @@ local highlight_groups = {
StatusLineTermNC = 'StatusLineNC', StatusLineTermNC = 'StatusLineNC',
--[[ 4.2.2. Separators]] --[[ 4.2.2. Separators]]
VertSplit = {fg=gray_darker}, VertSplit = {fg=white},
TabLine = {bg=gray_darker, fg=FG}, TabLine = {bg=gray_darker, fg=FG},
TabLineFill = {fg=FG}, TabLineFill = 'NonText',
TabLineSel = {bg=gray_darker, fg=FG, style='inverse'}, TabLineSel = {bg=BG, fg=FG},
Title = {style='bold'}, Title = {style='bold'},
--[[ 4.2.3. Conditional Line Highlighting]] --[[ 4.2.3. Conditional Line Highlighting]]
@ -322,7 +322,7 @@ local highlight_groups = {
DiffAdd = {fg=green_dark, style='inverse'}, DiffAdd = {fg=green_dark, style='inverse'},
DiffChange = {fg=yellow, style='inverse'}, DiffChange = {fg=yellow, style='inverse'},
DiffDelete = {fg=red, style='inverse'}, DiffDelete = {fg=red, style='inverse'},
DiffText = {style='inverse'}, DiffText = {fg=FG},
--[[ 4.2.7. Searching]] --[[ 4.2.7. Searching]]
IncSearch = {style='inverse'}, IncSearch = {style='inverse'},
@ -689,6 +689,25 @@ local highlight_groups = {
TSStringRegex = 'SpecialChar', TSStringRegex = 'SpecialChar',
TSURI = 'Tag', TSURI = 'Tag',
TSVariableBuiltin = 'Identifier', TSVariableBuiltin = 'Identifier',
--[[ 4.4.9. barbar.nvim ]]
BufferCurrent = 'TabLineSel',
BufferCurrentMod = {bg=black, fg=tan, style='bold'},
BufferCurrentSign = 'HintMsg',
BufferCurrentTarget = 'BufferCurrentSign',
BufferInactive = 'TabLine',
BufferInactiveMod = {bg=gray_darker, fg=white, style='italic'},
BufferInactiveSign = {bg=gray_darker, fg=gray_darker},
BufferInactiveTarget = 'BufferInactiveSign',
BufferTabpages = {bg=FG, fg=gray_dark, style='bold'},
BufferTabpageSpacer = 'TabLineFill',
BufferVisible = 'TabLine',
BufferVisibleMod = 'BufferInactiveMod',
BufferVisibleSign = 'BufferVisible',
BufferVisibleTarget = 'BufferVisibleSign',
} }
--[[ Step 5: Terminal Colors --[[ Step 5: Terminal Colors