Fix highlight for no priority

This commit is contained in:
Leandro Freitas
2011-06-01 00:03:58 -03:00
parent 1c3ba87b77
commit 6b467019c8
2 changed files with 10 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
(A) 2011-05-31 Stop breaking lines automatically (A) 2011-05-31 Stop breaking lines automatically @ftplugin
(B) 2011-05-31 Start documentation (B) 2011-05-31 Start documentation @doc
2011-05-30 Sort lines per priority 2011-05-30 Sort lines per priority @ftplugin
2011-05-30 Map commands to add, rm, ls, pri, depri etc 2011-05-30 Map commands to add, rm, ls, pri, depri etc @ftplugin
2011-05-30 Create README.markdown to be published in github 2011-05-30 Create README.markdown to be published in github
2011-05-30 Contact main project for reference 2011-05-30 Contact main project for reference
X 2011-05-30 Implement filetype detection X 2011-05-30 Implement filetype detection @ftdetect
X 2011-05-30 Implement colorized priorities X 2011-05-30 Implement colorized priorities @syntax
X 2011-05-31 Highlight date, project and context of tasks with no priority @syntax

View File

@@ -36,9 +36,9 @@ syntax match TodoPriorityW '^([wW])\s.\+$' contains=TodoDate,TodoP
syntax match TodoPriorityX '^([xX])\s.\+$' contains=TodoDate,TodoProject,TodoContext syntax match TodoPriorityX '^([xX])\s.\+$' contains=TodoDate,TodoProject,TodoContext
syntax match TodoPriorityY '^([yY])\s.\+$' contains=TodoDate,TodoProject,TodoContext syntax match TodoPriorityY '^([yY])\s.\+$' contains=TodoDate,TodoProject,TodoContext
syntax match TodoPriorityZ '^([zZ])\s.\+$' contains=TodoDate,TodoProject,TodoContext syntax match TodoPriorityZ '^([zZ])\s.\+$' contains=TodoDate,TodoProject,TodoContext
syntax match TodoDate '\d\{4\}-\d\{2\}-\d\{2\}' contains=NONE contained syntax match TodoDate '\d\{4\}-\d\{2\}-\d\{2\}' contains=NONE
syntax match TodoProject '+\a\+' contains=NONE contained syntax match TodoProject '+\a\+' contains=NONE
syntax match TodoContext '@\a\+' contains=NONE contained syntax match TodoContext '@\a\+' contains=NONE
" Other priority colours might be defined by the user " Other priority colours might be defined by the user
highlight default link TodoDone Comment highlight default link TodoDone Comment