diff options
author | Teddy Wing | 2016-04-05 11:01:57 -0400 |
---|---|---|
committer | Teddy Wing | 2016-04-05 11:02:52 -0400 |
commit | 7c8b7aa91cc1dec48e79a65a201b7c5228203d2d (patch) | |
tree | 138185ce7224c7748683dfba93a154f277800572 /syntax | |
parent | 3c15183dc93fcabccca1e324a83baf02b2e9bf8a (diff) | |
download | vim-twodo-7c8b7aa91cc1dec48e79a65a201b7c5228203d2d.tar.bz2 |
syntax/todo.vim: Highlight TODOs that start with whitespace
Subtasks get indented. This will highlight undone tasks even if there's
whitespace in front of them.
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/todo.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/todo.vim b/syntax/todo.vim index 56cce73..140b0dd 100644 --- a/syntax/todo.vim +++ b/syntax/todo.vim @@ -2,7 +2,7 @@ if exists('b:current_syntax') finish endif -syntax match todoUndone /^- .\+/ +syntax match todoUndone /^\s*- .\+/ highlight link todoUndone Statement |