configure expression for Todo words (#1053)
Enable the user to conveniently set the regular expression used for the `VimwikiTodo` syntax group, instead of the defaults which might be more suitable to code. This setting is now also local per wiki. Signed-off-by: Amit Beka <---> Co-authored-by: Amit Beka <--->
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ execute 'syn match VimwikiHeaderChar contained /\%(^\s*'.
|
||||
\ vimwiki#vars#get_syntaxlocal('header_symbol').'\+\)\|\%('.vimwiki#vars#get_syntaxlocal('header_symbol').
|
||||
\ '\+\s*$\)/'
|
||||
|
||||
execute 'syntax match VimwikiTodo /'. vimwiki#vars#get_global('rxTodo') .'/'
|
||||
execute 'syntax match VimwikiTodo /'. vimwiki#vars#get_wikilocal('rx_todo') .'/'
|
||||
|
||||
|
||||
" Table:
|
||||
|
||||
Reference in New Issue
Block a user