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
@ -164,7 +164,7 @@ function! s:populate_global_variables()
|
||||
let g:vimwiki_global_vars.rxWikiInclSuffix1 = g:vimwiki_global_vars.rxWikiInclArgs.
|
||||
\ g:vimwiki_global_vars.rxWikiInclSuffix
|
||||
|
||||
let g:vimwiki_global_vars.rxTodo = '\C\%(TODO:\|DONE:\|STARTED:\|FIXME:\|FIXED:\|XXX:\)'
|
||||
let g:vimwiki_global_vars.rxTodo = '\C\<\%(TODO\|DONE\|STARTED\|FIXME\|FIXED\|XXX\)\>'
|
||||
|
||||
" default colors when headers of different levels are highlighted differently
|
||||
" not making it yet another option; needed by ColorScheme autocommand
|
||||
|
Reference in New Issue
Block a user