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"