Syntax definitions

This commit is contained in:
Ivan Tishchenko 2015-01-05 01:44:24 +03:00
parent a01290160c
commit 4f639cebee
2 changed files with 6 additions and 0 deletions

View File

@ -485,6 +485,10 @@ if g:vimwiki_valid_html_tags != ''
execute 'syntax match VimwikiComment /'.g:vimwiki_rxComment.'/ contains=@Spell'
endif
" tags
execute 'syntax match VimwikiTag /'.g:vimwiki_rxTags.'/'
" }}}
" header groups highlighting "{{{
@ -550,6 +554,7 @@ hi def link VimwikiListTodo VimwikiList
hi def link VimwikiCheckBoxDone Comment
hi def link VimwikiEmoticons Character
hi def link VimwikiHR Identifier
hi def link VimwikiTag Keyword
hi def link VimwikiDelText Constant
hi def link VimwikiDelTextT VimwikiDelText

View File

@ -95,3 +95,4 @@ let g:vimwiki_rxMathStart = '{{\$'
let g:vimwiki_rxMathEnd = '}}\$'
let g:vimwiki_rxComment = '^\s*%%.*$'
let g:vimwiki_rxTags = ':\([^:[:space:]]\+:\)\+'