From 373c18afe7888eced47c3bbb5b5a4210638ceb08 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sat, 13 Apr 2019 20:28:59 +0200 Subject: Basic support for Asciidoc syntax highlighting This commit adds basic syntax highlighting support for Asciidoc (1) that comes bundled with Vim 8. References: (1) https://asciidoctor.org GH-131 --- colors/nord.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'colors') diff --git a/colors/nord.vim b/colors/nord.vim index 328245f..6b9b3b6 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -288,6 +288,27 @@ hi! link PreCondit PreProc "+-----------+ "+ Languages + "+-----------+ +call s:hi("asciidocAttributeEntry", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocAttributeList", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocAttributeRef", s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("asciidocHLabel", s:nord9_gui, "", s:nord9_term, "", "", "") +call s:hi("asciidocListingBlock", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("asciidocMacroAttributes", s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("asciidocOneLineTitle", s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("asciidocPassthroughBlock", s:nord9_gui, "", s:nord9_term, "", "", "") +call s:hi("asciidocQuotedMonospaced", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("asciidocTriplePlusPassthrough", s:nord7_gui, "", s:nord7_term, "", "", "") +hi! link asciidocAdmonition Keyword +hi! link asciidocAttributeRef markdownH1 +hi! link asciidocBackslash Keyword +hi! link asciidocMacro Keyword +hi! link asciidocQuotedBold Bold +hi! link asciidocQuotedEmphasized Italic +hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced +hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold +hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized +hi! link asciidocURL markdownLinkText + call s:hi("awkCharClass", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("awkPatterns", s:nord9_gui, "", s:nord9_term, "", "bold", "") hi! link awkArrayElement Identifier -- cgit v1.2.3-70-g09d2