HTML comments and better TODO
* Allow HTML-style comment syntax Allow <!-- HTML comments --> in vimwiki's highlight for markdown. * Avoid matching "TODO" on word boundaries Do not match e.g. "xTODO:" as if it were "TODO:". This also lifts the requirement of ":" after these keywords (it is more flexible to just require a word boundary regardless of what).
This commit is contained in:
committed by
EinfachToll
parent
52f3bf7c3b
commit
1c4a9bb1af
@ -87,7 +87,7 @@ let s:markdown_syntax.rxPreEnd = '```'
|
||||
let s:markdown_syntax.rxMathStart = '\$\$'
|
||||
let s:markdown_syntax.rxMathEnd = '\$\$'
|
||||
|
||||
let s:markdown_syntax.rxComment = '^\s*%%.*$'
|
||||
let s:markdown_syntax.rxComment = '^\s*%%.*$\|<!--[^>]*-->'
|
||||
let s:markdown_syntax.rxTags = '\%(^\|\s\)\@<=:\%([^:[:space:]]\+:\)\+\%(\s\|$\)\@='
|
||||
|
||||
let s:markdown_syntax.header_search = '^\s*\(#\{1,6}\)\([^#].*\)$'
|
||||
|
Reference in New Issue
Block a user