diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2018-06-23 11:03:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-23 11:03:29 +0200 |
commit | 9e7addbc14cf7d43a086536d587ab18c94c832cd (patch) | |
tree | b61f0f3679606e3dd84cfcb8ef5271fbdd114b3c | |
parent | 035e36de3a55a593377246f02c045802b893c817 (diff) | |
parent | a27be460527273195e2d3438e376195d15809611 (diff) | |
download | nord-vim-9e7addbc14cf7d43a086536d587ab18c94c832cd.tar.gz |
Merge pull request #114 from smesko85/vimwiki-syntax
Add vimwiki syntax higlighting.
-rwxr-xr-x | colors/nord.vim | 19 |
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, "", "", "") |