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:
Amit Beka
2020-11-20 14:02:55 +02:00
committed by GitHub
parent 609fc5f509
commit 96713548cc
5 changed files with 35 additions and 5 deletions
+11 -1
View File
@@ -1018,7 +1018,8 @@ For Markdown syntax these variations are used: >
***bold_italic text*** or ___italic_bold text___
Furthermore, there are a number of words which are highlighted extra flashy:
TODO, DONE, STARTED, FIXME, FIXED, XXX.
TODO, DONE, STARTED, FIXME, FIXED, XXX (customisable, see
vimwiki-option-rx_todo).
When rendered as HTML, code blocks containing only a hash prefixed 6 digit hex
number will be colored as themselves. For example >
@@ -2858,6 +2859,14 @@ Provides two colors to |:VimwikiColorize|: 'red' => red foreground and 'bred'
=> red background.
------------------------------------------------------------------------------
*g:vimwiki-option-rx_todo*
Regular expression used to highlight different TODO words.
Default: `\C\<\%(TODO\|DONE\|STARTED\|FIXME\|FIXED\|XXX\)\>`
------------------------------------------------------------------------------
*vimwiki-option-color_tag_template*
@@ -3864,6 +3873,7 @@ https://github.com/vimwiki-backup/vimwiki/issues.
New:~
* Feature: enable re-mapping insert mode table mappings
* Feature: configure expression for Todo words
* Feature: #954 #1041: Add option |vimwiki-option-listsyms_propagate| to
disable todo propagation to parents/children
* Issue #1009: |foldmethod| syntax works for markdown (|g:vimwiki_folding|)