aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-04-13 20:28:59 +0200
committerGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-04-13 20:28:59 +0200
commit373c18afe7888eced47c3bbb5b5a4210638ceb08 (patch)
tree1e626c05738c061c0a3d3301ea85f7b9bfdea965
parenta649fff5735f56bd5d38f4b4ed295c1c57626197 (diff)
downloadnord-vim-373c18afe7888eced47c3bbb5b5a4210638ceb08.tar.gz
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
-rwxr-xr-xcolors/nord.vim21
1 files changed, 21 insertions, 0 deletions
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