From 22c3f62e62f8c59e02d028f87c26a4dba385fdce Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 18 Mar 2015 17:36:40 +0100 Subject: [PATCH] Day delimiters --- .vim/syntax/todo.vim | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vim/syntax/todo.vim b/.vim/syntax/todo.vim index 465b1d8..547b423 100644 --- a/.vim/syntax/todo.vim +++ b/.vim/syntax/todo.vim @@ -5,4 +5,11 @@ endif syntax keyword todoKeyword todo done highlight link todoKeyword Keyword +syntax match todoComment "\v#.*$" +highlight link todoComment Comment + +syn region todoDay matchgroup=todoHeadingDelimiter start="==\@!" end="==*\s*$" keepend oneline + +hi def link todoHeadingDelimiter Delimiter + let b:current_syntax = "todo"