aboutsummaryrefslogtreecommitdiffstats
path: root/syntax/todo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/todo.vim')
-rw-r--r--syntax/todo.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/syntax/todo.vim b/syntax/todo.vim
index 5584831..2805c15 100644
--- a/syntax/todo.vim
+++ b/syntax/todo.vim
@@ -35,6 +35,7 @@ syn match todoCbDone "\[x\]"
syn match todoCbNope "\[n\]"
syn match todoCbTodo "\[ \]"
syn match todoCbWait "\[w\]"
+syn match todoCbAttn "\[!\]"
hi link todoCbDelegated Special
hi link todoCbDoing Identifier
@@ -42,6 +43,7 @@ hi link todoCbDone Constant
hi link todoCbNope Comment
hi link todoCbTodo Todo
hi link todoCbWait Error
+hi link todoCbAttn Error
" todo planning
syn match todoDeadline /^DEADLINE .*/
@@ -69,15 +71,17 @@ hi link todoBlock String
" custom blocks
syn region todoAlert start="!!!" end="!!!"
syn region todoVerb start="```" end="```"
+syn match todoLit /^\s*:.*$/
hi link todoAlert Special
hi link todoVerb String
+hi link todoLit String
" org lists
syn match todoList "^\(\s*[-+]\|\s\+\*\)\(\s\|$\)" nextgroup=todoListItem
syn match todoList "^\s*\(\a\|\d\+\)[.)]\(\s\|$\)" nextgroup=todoListItem
-syn match todoListItem /.*$/ contained contains=todoLink,todoCbDelegated,todoCbDoing,todoCbDone,todoCbNope,todoCbTodo,todoCbWait
+syn match todoListItem /.*$/ contained contains=todoLink,todoCbDelegated,todoCbDoing,todoCbDone,todoCbNope,todoCbTodo,todoCbWait,todoCbAttn
hi link todoList todoBold
hi link todoListItem Normal