aboutsummaryrefslogtreecommitdiffstats
path: root/colors/nord.vim
diff options
context:
space:
mode:
authorGravatar Vladimir Dumitraskovic <vladimir.dumitraskovic@saturized.com>2018-04-02 14:34:05 +0200
committerGravatar Arctic Ice Studio <development@arcticicestudio.com>2018-06-23 10:59:25 +0200
commita27be460527273195e2d3438e376195d15809611 (patch)
treeb61f0f3679606e3dd84cfcb8ef5271fbdd114b3c /colors/nord.vim
parent035e36de3a55a593377246f02c045802b893c817 (diff)
downloadnord-vim-a27be460527273195e2d3438e376195d15809611.tar.gz
Add vimwiki syntax higlighting.
GH-98
Diffstat (limited to 'colors/nord.vim')
-rwxr-xr-xcolors/nord.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index 5558fc0..df8997b 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -563,6 +563,25 @@ hi! link mkdLinkDefTarget mkdURL
hi! link mkdLinkTitle mkdInlineURL
hi! link mkdDelimiter Keyword
+" Vimwiki
+" > vimwiki/vimwiki
+if !exists("g:vimwiki_hl_headers") || g:vimwiki_hl_headers == 0
+ for s:i in range(1,6)
+ call s:hi("VimwikiHeader".s:i, s:nord8_gui, "", s:nord8_term, "", "bold", "")
+ endfor
+else
+ let s:vimwiki_hcolor_guifg = [s:nord7_gui, s:nord8_gui, s:nord9_gui, s:nord10_gui, s:nord14_gui, s:nord15_gui]
+ let s:vimwiki_hcolor_ctermfg = [s:nord7_term, s:nord8_term, s:nord9_term, s:nord10_term, s:nord14_term, s:nord15_term]
+ for s:i in range(1,6)
+ call s:hi("VimwikiHeader".s:i, s:vimwiki_hcolor_guifg[s:i-1] , "", s:vimwiki_hcolor_ctermfg[s:i-1], "", "bold", "")
+ endfor
+endif
+
+call s:hi("VimwikiLink", s:nord8_gui, "", s:nord8_term, "", "underline", "")
+hi! link VimwikiHeaderChar markdownHeadingDelimiter
+hi! link VimwikiHR Keyword
+hi! link VimwikiList markdownListMarker
+
" YAML
" > stephpy/vim-yaml
call s:hi("yamlKey", s:nord7_gui, "", s:nord7_term, "", "", "")