diff options
| author | Teddy Wing | 2016-04-21 00:16:03 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2016-04-21 00:16:03 -0400 | 
| commit | 8623f14acf1ed504c1e899a3bb3a4dce19ef205c (patch) | |
| tree | ab21c32441b781e493e634da490d2152493a5368 /syntax | |
| parent | eb6bfde9a7ae2bac354e51493aee6324577b9911 (diff) | |
| download | vim-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.
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 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' | 
