aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-04-20 17:59:22 -0400
committerTeddy Wing2016-04-20 17:59:22 -0400
commiteb6bfde9a7ae2bac354e51493aee6324577b9911 (patch)
treebffd3551a440a07a4c9d564fa7762e8c7d431677
parenta306de8c622aa030b9da609032414bc215d1c38c (diff)
downloadvim-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.
-rw-r--r--syntax/todo.vim2
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'