nvim: add highlight groups for AsciiDoc
This commit is contained in:
parent
6d67cc8141
commit
3aa01432ed
|
@ -162,6 +162,8 @@ function M.highlight_languages()
|
|||
cmd('hi! link sqlSpecial Keyword')
|
||||
|
||||
-- markdown
|
||||
hi('markdownLinkText', c.purple, '', '', '')
|
||||
cmd('hi! link markdownUrl TSURI')
|
||||
hi('markdownCode', c.fg, c.grey1, 'italic', '')
|
||||
hi('markdownCodeBlock', c.fg, '', 'italic', '')
|
||||
hi('markdownH1', c.purple, '', 'bold', '')
|
||||
|
@ -177,6 +179,28 @@ function M.highlight_languages()
|
|||
hi('markdownH6', c.green, '', 'bold', '')
|
||||
cmd('hi! link markdownH6Delimiter markdownH6')
|
||||
|
||||
-- AsciiDoc
|
||||
hi('asciidocAttributeEntry', c.dark_blue, '', '', '')
|
||||
hi('asciidocAttributeList', c.dark_blue, '', '', '')
|
||||
hi('asciidocAttributeRef', c.dark_blue, '', '', '')
|
||||
hi('asciidocHLabel', c.blue, '', '', '')
|
||||
hi('asciidocListingBlock', c.teal, '', '', '')
|
||||
hi('asciidocMacroAttributes', c.purple, '', '', '')
|
||||
hi('asciidocOneLineTitle', c.cyan, '', '', '')
|
||||
hi('asciidocPassthroughBlock', c.blue, '', '', '')
|
||||
hi('asciidocTriplePlusPassthrough', c.teal, '', '', '')
|
||||
cmd('hi! link asciidocAdmonition Keyword')
|
||||
cmd('hi! link asciidocAttributeRef markdownH1')
|
||||
cmd('hi! link asciidocBackslash Keywork')
|
||||
cmd('hi! link asciidocMacro Keyword')
|
||||
hi('asciidocQuotedBold', '', '', 'bold', '')
|
||||
hi('asciidocQuotedEmphasized', '', '', 'bold,italic', '')
|
||||
hi('asciidocQuotedMonospaced', c.teal, '', '', '')
|
||||
cmd('hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced')
|
||||
cmd('hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold')
|
||||
cmd('hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized')
|
||||
cmd('hi! link asciidocURL markdownLinkText')
|
||||
|
||||
-- html
|
||||
hi('htmlLink', c.green, '', 'underline', '')
|
||||
cmd('hi! link htmlH1 markdownH1')
|
||||
|
|
Loading…
Reference in a new issue