summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-10-01 14:19:28 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-10-01 14:19:28 +0200
commit701a0a4ddafcb0f5ad6b56d7c6cefb385dacd530 (patch)
tree59b1338dd12ca658f41505a2815fbcfa235a827f
parent35b1c71b32b3f3c90fd9ca8d615db6766f2a17df (diff)
Todo++
-rw-r--r--syntax/todo.vim6
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"