From eb6bfde9a7ae2bac354e51493aee6324577b9911 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 20 Apr 2016 17:59:22 -0400 Subject: 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. --- syntax/todo.vim | 2 ++ 1 file changed, 2 insertions(+) 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' -- cgit v1.2.3