diff options
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/todo.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/syntax/todo.vim b/syntax/todo.vim index 1902d42..2824481 100644 --- a/syntax/todo.vim +++ b/syntax/todo.vim @@ -11,9 +11,11 @@ endif setlocal iskeyword+=- syntax case ignore -syn match Todo /([^)]*)/ containedin=ALLBUT,todoDone,todoTaskDone +syn match Todo /([^)]*)/ containedin=ALLBUT,todoDone,todoTaskDone syn match String /\[[^\]]*\]/ containedin=ALL +syn match todoKeyWord /[A-Z_-]\+:/ + syn region todoTitle start=/^\z\(\s*\)\*/ end=/$/ syn region todoTask1 start=/^\z\(\s*\)+/ end=/$/ syn region todoTask2 start=/^\z\(\s*\)→/ end=/$/ @@ -35,4 +37,6 @@ hi link rtTicket SpellRare hi link todoDone NonText hi link todoTaskDone NonText +hi link todoKeyWord PreProc + let b:current_syntax="todo" |