aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-04-21 00:16:03 -0400
committerTeddy Wing2016-04-21 00:16:03 -0400
commit8623f14acf1ed504c1e899a3bb3a4dce19ef205c (patch)
treeab21c32441b781e493e634da490d2152493a5368
parenteb6bfde9a7ae2bac354e51493aee6324577b9911 (diff)
downloadvim-twodo-8623f14acf1ed504c1e899a3bb3a4dce19ef205c.tar.bz2
Highlight completed tasks as `Ignore`
Use the `Ignore` highlight group to colour completed tasks. This makes them less visible and get out of the way.
-rw-r--r--syntax/todo.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/todo.vim b/syntax/todo.vim
index 70bdd9f..0aabae7 100644
--- a/syntax/todo.vim
+++ b/syntax/todo.vim
@@ -5,9 +5,11 @@ endif
syntax match todoUndone /^\s*- .\+/
syntax match todoImportant /^\s*!.\+/
syntax match todoUnimportant /^\s*_.\+/
+syntax match todoCompleted /^\s*v.\+/
highlight link todoUndone Statement
highlight link todoImportant Error
highlight link todoUnimportant Ignore
+highlight link todoCompleted Ignore
let b:current_syntax = 'todo'