From 8623f14acf1ed504c1e899a3bb3a4dce19ef205c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 21 Apr 2016 00:16:03 -0400 Subject: 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. --- syntax/todo.vim | 2 ++ 1 file changed, 2 insertions(+) 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' -- cgit v1.2.3