Consistent formatting
This commit is contained in:
parent
856dc2cf26
commit
1dba9703b5
|
@ -235,7 +235,7 @@ local FG = 'fg'
|
||||||
|
|
||||||
--[[ These are the ones you should edit. ]]
|
--[[ These are the ones you should edit. ]]
|
||||||
-- This is the only highlight that must be defined separately.
|
-- This is the only highlight that must be defined separately.
|
||||||
local highlight_group_normal = {bg=black, fg=gray_light}
|
local highlight_group_normal = {fg=gray_light, bg=black}
|
||||||
|
|
||||||
-- This is where the rest of your highlights should go.
|
-- This is where the rest of your highlights should go.
|
||||||
local highlight_groups = {
|
local highlight_groups = {
|
||||||
|
@ -292,32 +292,32 @@ local highlight_groups = {
|
||||||
--[[ 4.1.7. Help Syntax]]
|
--[[ 4.1.7. Help Syntax]]
|
||||||
Underlined = {fg=turqoise, style='underline'},
|
Underlined = {fg=turqoise, style='underline'},
|
||||||
Ignore = {fg=gray},
|
Ignore = {fg=gray},
|
||||||
Error = {bg=red_dark, fg=white, style='bold'},
|
Error = {fg=white, bg=red_dark, style='bold'},
|
||||||
Todo = {fg=yellow, style={'bold', 'underline'}},
|
Todo = {fg=yellow, style={'bold', 'underline'}},
|
||||||
helpHyperTextJump = 'Underlined',
|
helpHyperTextJump = 'Underlined',
|
||||||
helpSpecial = 'Function',
|
helpSpecial = 'Function',
|
||||||
Hint = {bg=magenta, fg=black, style='bold'},
|
Hint = {fg=black, bg=magenta, style='bold'},
|
||||||
Info = function(self) return {bg=pink_light, fg=self.Hint.fg, style=self.Hint.style} end,
|
Info = function(self) return {fg=self.Hint.fg, bg=pink_light, style=self.Hint.style} end,
|
||||||
Warning = function(self) return {bg=orange, fg=self.Hint.fg, style=self.Hint.style} end,
|
Warning = function(self) return {fg=self.Hint.fg, bg=orange, style=self.Hint.style} end,
|
||||||
|
|
||||||
--[[ 4.2... Editor UI ]]
|
--[[ 4.2... Editor UI ]]
|
||||||
--[[ 4.2.1. Status Line]]
|
--[[ 4.2.1. Status Line]]
|
||||||
StatusLine = {bg=gray_darker, fg=green_light},
|
StatusLine = {fg=green_light, bg=gray_darker},
|
||||||
StatusLineNC = function(self) return {bg=self.StatusLine.bg, fg=gray} end,
|
StatusLineNC = function(self) return {fg=gray, bg=self.StatusLine.bg} end,
|
||||||
StatusLineTerm = 'StatusLine',
|
StatusLineTerm = 'StatusLine',
|
||||||
StatusLineTermNC = 'StatusLineNC',
|
StatusLineTermNC = 'StatusLineNC',
|
||||||
|
|
||||||
--[[ 4.2.2. Separators]]
|
--[[ 4.2.2. Separators]]
|
||||||
VertSplit = {fg=white},
|
VertSplit = {fg=white},
|
||||||
TabLine = {bg=gray_darker, fg=FG},
|
TabLine = {fg=FG, bg=gray_darker},
|
||||||
TabLineFill = {bg=black, fg=gray_darker},
|
TabLineFill = {fg=gray_darker, bg=black},
|
||||||
TabLineSel = {bg=BG, fg=FG},
|
TabLineSel = {fg=FG, bg=BG},
|
||||||
Title = {style='bold'},
|
Title = {style='bold'},
|
||||||
|
|
||||||
--[[ 4.2.3. Conditional Line Highlighting]]
|
--[[ 4.2.3. Conditional Line Highlighting]]
|
||||||
Conceal = 'NonText',
|
Conceal = 'NonText',
|
||||||
CursorLine = {bg=gray_dark},
|
CursorLine = {bg=gray_dark},
|
||||||
CursorLineNr = function(self) return {bg=self.CursorLine.bg, fg=pink} end,
|
CursorLineNr = function(self) return {fg=pink, bg=self.CursorLine.bg} end,
|
||||||
debugBreakpoint = 'ErrorMsg',
|
debugBreakpoint = 'ErrorMsg',
|
||||||
debugPC = 'ColorColumn',
|
debugPC = 'ColorColumn',
|
||||||
LineNr = {fg=gray},
|
LineNr = {fg=gray},
|
||||||
|
@ -326,7 +326,7 @@ local highlight_groups = {
|
||||||
VisualNOS = {bg=gray_darker},
|
VisualNOS = {bg=gray_darker},
|
||||||
|
|
||||||
--[[ 4.2.4. Popup Menu]]
|
--[[ 4.2.4. Popup Menu]]
|
||||||
Pmenu = {bg=gray_dark, fg=FG},
|
Pmenu = {fg=FG, bg=gray_dark},
|
||||||
PmenuSbar = {bg=black},
|
PmenuSbar = {bg=black},
|
||||||
PmenuSel = {fg=FG},
|
PmenuSel = {fg=FG},
|
||||||
PmenuThumb = {bg=white},
|
PmenuThumb = {bg=white},
|
||||||
|
@ -334,7 +334,7 @@ local highlight_groups = {
|
||||||
|
|
||||||
--[[ 4.2.5. Folds]]
|
--[[ 4.2.5. Folds]]
|
||||||
FoldColumn = {bg=gray_darker, style='bold'},
|
FoldColumn = {bg=gray_darker, style='bold'},
|
||||||
Folded = {bg=purple_light, fg=black, style='italic'},
|
Folded = {fg=black, bg=purple_light, style='italic'},
|
||||||
|
|
||||||
--[[ 4.2.6. Diffs]]
|
--[[ 4.2.6. Diffs]]
|
||||||
DiffAdd = {fg=black, bg=green_dark},
|
DiffAdd = {fg=black, bg=green_dark},
|
||||||
|
@ -726,24 +726,24 @@ local highlight_groups = {
|
||||||
|
|
||||||
--[[ 4.4.9. barbar.nvim ]]
|
--[[ 4.4.9. barbar.nvim ]]
|
||||||
BufferCurrent = 'TabLineSel',
|
BufferCurrent = 'TabLineSel',
|
||||||
BufferCurrentMod = {bg=black, fg=tan, style='bold'},
|
BufferCurrentMod = {fg=tan, bg=black, style='bold'},
|
||||||
BufferCurrentSign = 'HintMsg',
|
BufferCurrentSign = 'HintMsg',
|
||||||
BufferCurrentTarget = 'BufferCurrentSign',
|
BufferCurrentTarget = 'BufferCurrentSign',
|
||||||
|
|
||||||
BufferInactive = 'BufferVisible',
|
BufferInactive = 'BufferVisible',
|
||||||
BufferInactiveMod = 'BufferVisibleMod',
|
BufferInactiveMod = 'BufferVisibleMod',
|
||||||
BufferInactiveSign = {bg=gray_darker, fg=gray_darker},
|
BufferInactiveSign = {fg=gray_darker, bg=gray_darker},
|
||||||
BufferInactiveTarget = 'BufferVisibleTarget',
|
BufferInactiveTarget = 'BufferVisibleTarget',
|
||||||
|
|
||||||
BufferTabpages = {bg=FG, fg=BG, style='bold'},
|
BufferTabpages = {fg=BG, bg=FG, style='bold'},
|
||||||
BufferTabpageFill = 'TabLineFill',
|
BufferTabpageFill = 'TabLineFill',
|
||||||
|
|
||||||
BufferVisible = 'TabLine',
|
BufferVisible = 'TabLine',
|
||||||
BufferVisibleMod = {bg=gray_darker, fg=white, style='italic'},
|
BufferVisibleMod = {fg=white, bg=gray_darker, style='italic'},
|
||||||
BufferVisibleSign = 'BufferVisible',
|
BufferVisibleSign = 'BufferVisible',
|
||||||
BufferVisibleTarget = function(self)
|
BufferVisibleTarget = function(self)
|
||||||
local parent = self.BufferVisibleMod
|
local parent = self.BufferVisibleMod
|
||||||
return {bg=parent.fg, fg=parent.bg, style='bold'}
|
return {fg=parent.fg, bg=parent.bg, style='bold'}
|
||||||
end,
|
end,
|
||||||
|
|
||||||
--[[ 4.4.10. vim-sandwhich ]]
|
--[[ 4.4.10. vim-sandwhich ]]
|
||||||
|
|
Loading…
Reference in New Issue