fix tabline

This commit is contained in:
Ray Elliott 2021-09-07 13:45:05 +01:00
parent 7d91db681c
commit f25afbef0f
1 changed files with 9 additions and 5 deletions

View File

@ -305,8 +305,8 @@ local highlight_groups = {
Typedef = 'StorageClass', Typedef = 'StorageClass',
--[[ 4.1.6. Edge Cases]] --[[ 4.1.6. Edge Cases]]
Special = {fg=c_primary_strongest, style='bold'}, Special = {fg=c_primary_strongest},
SpecialChar = {fg=c_primary_strongest}, SpecialChar = {fg=c_primary_strongest, style='bold'},
SpecialKey = 'SpecialCharacter', SpecialKey = 'SpecialCharacter',
Tag = {fg=c_primary_strong, style='bold'}, Tag = {fg=c_primary_strong, style='bold'},
Delimiter = 'Noise', Delimiter = 'Noise',
@ -846,6 +846,8 @@ local highlight_groups = {
TSVariable = 'Identifier', TSVariable = 'Identifier',
TSVariableBuiltin = 'Identifier', TSVariableBuiltin = 'Identifier',
htmlTSTag = 'htmlTag',
--[[ 4.4.9. barbar.nvim ]] --[[ 4.4.9. barbar.nvim ]]
BufferCurrent = 'TabLineSel', BufferCurrent = 'TabLineSel',
BufferCurrentIndex = function(self) return {fg=self.InfoMsg.fg, bg=self.BufferCurrent.bg} end, BufferCurrentIndex = function(self) return {fg=self.InfoMsg.fg, bg=self.BufferCurrent.bg} end,
@ -931,9 +933,11 @@ local highlight_groups = {
packerSuccess = function(self) return {fg=c_success, style=self.packerFail.style} end, packerSuccess = function(self) return {fg=c_success, style=self.packerFail.style} end,
-- [[ 5.0.1 custom ]] -- [[ 5.0.1 custom ]]
TabLineFill = { fg=ui_bg, fg=ui_bg, style='italic' }, TabLineFill = 'StatusLine',
TabLineItem = { bg=ui_bg, fg=ui_fg, style='italic' }, TabLineItem = {fg=c_fg, bg=c_bg_ui, style='italic'},
TabLineItemSel = { bg=ui_bg, fg=ui_fg_strong, style='italic' }, TabLineItemSel = {fg=c_fg_strong, bg=c_bg_ui, style={'italic', 'bold'}},
TabLineNum = {fg=c_fg_weak, bg=c_bg_ui},
TabLineNumSel = {fg=c_fg_weak, bg=c_bg_ui}
} }