ref(colors): extract help groups
There were help syntax highlights scattered around. THis moves them to one, dedicated spot. Additionally, there were some incorrect settings for markdown help blocks, and they were corrected.
This commit is contained in:
parent
aabed249a1
commit
d1b8699983
|
@ -293,12 +293,10 @@ 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 = {fg=white, bg=red_dark, style='bold'},
|
Error = {fg=white, bg=red_dark, style='bold'},
|
||||||
Todo = {fg=yellow, style={'bold', 'underline'}},
|
Todo = {fg=yellow, style={'bold', 'underline'}},
|
||||||
helpHyperTextJump = 'Underlined',
|
Hint = {fg=black, bg=magenta, style='bold'},
|
||||||
helpSpecial = 'Function',
|
Info = function(self) return {fg=self.Hint.fg, bg=pink_light, style=self.Hint.style} end,
|
||||||
Hint = {fg=black, bg=magenta, style='bold'},
|
|
||||||
Info = function(self) return {fg=self.Hint.fg, bg=pink_light, style=self.Hint.style} end,
|
|
||||||
Warning = function(self) return {fg=self.Hint.fg, bg=orange, 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 ]]
|
||||||
|
@ -550,9 +548,9 @@ local highlight_groups = {
|
||||||
mkdCodeEnd = 'mkdCodeStart',
|
mkdCodeEnd = 'mkdCodeStart',
|
||||||
mkdHeading = 'Delimiter',
|
mkdHeading = 'Delimiter',
|
||||||
mkdItalic = 'mkdBold',
|
mkdItalic = 'mkdBold',
|
||||||
mkdLineBreak = NONE,
|
mkdLineBreak = 'NonText',
|
||||||
mkdListItem = 'Special',
|
mkdListItem = 'Special',
|
||||||
mkdRule = 'Underlined',
|
mkdRule = function(self) return {fg=self.Ignore.fg, style={'underline', color=self.Delimiter.fg}} end,
|
||||||
|
|
||||||
--[[ 4.3.20. Python ]]
|
--[[ 4.3.20. Python ]]
|
||||||
pythonBrackets = 'Delimiter',
|
pythonBrackets = 'Delimiter',
|
||||||
|
@ -618,10 +616,6 @@ local highlight_groups = {
|
||||||
tomlTable = 'Structure',
|
tomlTable = 'Structure',
|
||||||
|
|
||||||
--[[ 4.3.27. VimScript ]]
|
--[[ 4.3.27. VimScript ]]
|
||||||
helpSpecial = 'Special',
|
|
||||||
helpHeader = 'Label',
|
|
||||||
helpHeadline = 'Title',
|
|
||||||
helpSectionDelim = 'Delimiter',
|
|
||||||
vimCmdSep = 'Delimiter',
|
vimCmdSep = 'Delimiter',
|
||||||
vimFunction = 'Function',
|
vimFunction = 'Function',
|
||||||
vimFgBgAttrib = 'Constant',
|
vimFgBgAttrib = 'Constant',
|
||||||
|
@ -712,6 +706,14 @@ local highlight_groups = {
|
||||||
coqVernacCmd = 'Statement',
|
coqVernacCmd = 'Statement',
|
||||||
coqVernacPunctuation = 'coqTermPunctuation',
|
coqVernacPunctuation = 'coqTermPunctuation',
|
||||||
|
|
||||||
|
--[[ 4.3.37 Help ]]
|
||||||
|
helpSpecial = 'Special',
|
||||||
|
helpHeader = 'Label',
|
||||||
|
helpHeadline = 'Title',
|
||||||
|
helpSectionDelim = 'Delimiter',
|
||||||
|
helpHyperTextJump = 'Underlined',
|
||||||
|
helpSpecial = 'Function',
|
||||||
|
|
||||||
--[[ 4.4. Plugins
|
--[[ 4.4. Plugins
|
||||||
Everything in this section is OPTIONAL. Feel free to remove everything
|
Everything in this section is OPTIONAL. Feel free to remove everything
|
||||||
here if you don't want to define it, or add more if there's something
|
here if you don't want to define it, or add more if there's something
|
||||||
|
|
Loading…
Reference in New Issue