Fix highlighting of tags
in some circumstances, e.g. - :Tag: the tag wasn't highlighted. Don't know why.
This commit is contained in:
parent
7bc2fcb3a7
commit
8055ef8608
@ -92,5 +92,5 @@ 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 = '\(^\|\s\)\zs:\([^:[:space:]]\+:\)\+\ze\(\s\|$\)'
|
let g:vimwiki_rxTags = '\%(^\|\s\)\@<=:\%([^:[:space:]]\+:\)\+\%(\s\|$\)\@='
|
||||||
" see also g:vimwiki_default_tag_search
|
" see also g:vimwiki_default_tag_search
|
||||||
|
Loading…
Reference in New Issue
Block a user