Syntax definitions
This commit is contained in:
parent
a01290160c
commit
4f639cebee
@ -485,6 +485,10 @@ if g:vimwiki_valid_html_tags != ''
|
|||||||
|
|
||||||
execute 'syntax match VimwikiComment /'.g:vimwiki_rxComment.'/ contains=@Spell'
|
execute 'syntax match VimwikiComment /'.g:vimwiki_rxComment.'/ contains=@Spell'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" tags
|
||||||
|
execute 'syntax match VimwikiTag /'.g:vimwiki_rxTags.'/'
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" header groups highlighting "{{{
|
" header groups highlighting "{{{
|
||||||
@ -550,6 +554,7 @@ hi def link VimwikiListTodo VimwikiList
|
|||||||
hi def link VimwikiCheckBoxDone Comment
|
hi def link VimwikiCheckBoxDone Comment
|
||||||
hi def link VimwikiEmoticons Character
|
hi def link VimwikiEmoticons Character
|
||||||
hi def link VimwikiHR Identifier
|
hi def link VimwikiHR Identifier
|
||||||
|
hi def link VimwikiTag Keyword
|
||||||
|
|
||||||
hi def link VimwikiDelText Constant
|
hi def link VimwikiDelText Constant
|
||||||
hi def link VimwikiDelTextT VimwikiDelText
|
hi def link VimwikiDelTextT VimwikiDelText
|
||||||
|
@ -95,3 +95,4 @@ let g:vimwiki_rxMathStart = '{{\$'
|
|||||||
let g:vimwiki_rxMathEnd = '}}\$'
|
let g:vimwiki_rxMathEnd = '}}\$'
|
||||||
|
|
||||||
let g:vimwiki_rxComment = '^\s*%%.*$'
|
let g:vimwiki_rxComment = '^\s*%%.*$'
|
||||||
|
let g:vimwiki_rxTags = ':\([^:[:space:]]\+:\)\+'
|
||||||
|
Loading…
Reference in New Issue
Block a user