diff options
author | Teddy Wing | 2016-04-20 17:59:22 -0400 |
---|---|---|
committer | Teddy Wing | 2016-04-20 17:59:22 -0400 |
commit | eb6bfde9a7ae2bac354e51493aee6324577b9911 (patch) | |
tree | bffd3551a440a07a4c9d564fa7762e8c7d431677 /syntax | |
parent | a306de8c622aa030b9da609032414bc215d1c38c (diff) | |
download | vim-twodo-eb6bfde9a7ae2bac354e51493aee6324577b9911.tar.bz2 |
Add a highlight category for unimportant tasks
Have low priority tasks start with `_` instead of `-`. Highlight these
separately with the `Ignore` group to visually de-emphasize them.
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/todo.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/todo.vim b/syntax/todo.vim index 8179393..70bdd9f 100644 --- a/syntax/todo.vim +++ b/syntax/todo.vim @@ -4,8 +4,10 @@ endif syntax match todoUndone /^\s*- .\+/ syntax match todoImportant /^\s*!.\+/ +syntax match todoUnimportant /^\s*_.\+/ highlight link todoUndone Statement highlight link todoImportant Error +highlight link todoUnimportant Ignore let b:current_syntax = 'todo' |