mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-16 05:43:47 -05:00
Fix highlight for no priority
This commit is contained in:
13
Todo.txt
13
Todo.txt
@@ -1,8 +1,9 @@
|
||||
(A) 2011-05-31 Stop breaking lines automatically
|
||||
(B) 2011-05-31 Start documentation
|
||||
2011-05-30 Sort lines per priority
|
||||
2011-05-30 Map commands to add, rm, ls, pri, depri etc
|
||||
(A) 2011-05-31 Stop breaking lines automatically @ftplugin
|
||||
(B) 2011-05-31 Start documentation @doc
|
||||
2011-05-30 Sort lines per priority @ftplugin
|
||||
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 Contact main project for reference
|
||||
X 2011-05-30 Implement filetype detection
|
||||
X 2011-05-30 Implement colorized priorities
|
||||
X 2011-05-30 Implement filetype detection @ftdetect
|
||||
X 2011-05-30 Implement colorized priorities @syntax
|
||||
X 2011-05-31 Highlight date, project and context of tasks with no priority @syntax
|
||||
|
||||
@@ -36,9 +36,9 @@ syntax match TodoPriorityW '^([wW])\s.\+$' contains=TodoDate,TodoP
|
||||
syntax match TodoPriorityX '^([xX])\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 TodoDate '\d\{4\}-\d\{2\}-\d\{2\}' contains=NONE contained
|
||||
syntax match TodoProject '+\a\+' contains=NONE contained
|
||||
syntax match TodoContext '@\a\+' contains=NONE contained
|
||||
syntax match TodoDate '\d\{4\}-\d\{2\}-\d\{2\}' contains=NONE
|
||||
syntax match TodoProject '+\a\+' contains=NONE
|
||||
syntax match TodoContext '@\a\+' contains=NONE
|
||||
|
||||
" Other priority colours might be defined by the user
|
||||
highlight default link TodoDone Comment
|
||||
|
||||
Reference in New Issue
Block a user