Modify patterns and code -- tag colons must be either at line boundary, or surrounded with white spaces

This commit is contained in:
Ivan Tishchenko
2015-01-23 23:13:27 +03:00
parent b912e4e3c7
commit 17cfd6e613
3 changed files with 30 additions and 25 deletions

View File

@ -95,4 +95,5 @@ let g:vimwiki_rxMathStart = '{{\$'
let g:vimwiki_rxMathEnd = '}}\$'
let g:vimwiki_rxComment = '^\s*%%.*$'
let g:vimwiki_rxTags = ':\([^:[:space:]]\+:\)\+'
let g:vimwiki_rxTags = '\(^\|\s\)\zs:\([^:[:space:]]\+:\)\+\ze\(\s\|$\)'
" see also g:vimwiki_default_tag_search