diff --git a/syntax/vimwiki_markdown.vim b/syntax/vimwiki_markdown.vim index 31667e2..c32c7d7 100644 --- a/syntax/vimwiki_markdown.vim +++ b/syntax/vimwiki_markdown.vim @@ -88,3 +88,4 @@ let g:vimwiki_rxMathStart = '\$\$' let g:vimwiki_rxMathEnd = '\$\$' let g:vimwiki_rxComment = '^\s*%%.*$' +let g:vimwiki_rxTags = '\%(^\|\s\)\@<=:\%([^:[:space:]]\+:\)\+\%(\s\|$\)\@=' diff --git a/syntax/vimwiki_media.vim b/syntax/vimwiki_media.vim index 37c24db..9c0498e 100644 --- a/syntax/vimwiki_media.vim +++ b/syntax/vimwiki_media.vim @@ -69,3 +69,4 @@ let g:vimwiki_rxMathStart = '{{\$' let g:vimwiki_rxMathEnd = '}}\$' let g:vimwiki_rxComment = '^\s*%%.*$' +let g:vimwiki_rxTags = '\%(^\|\s\)\@<=:\%([^:[:space:]]\+:\)\+\%(\s\|$\)\@='