mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
taskdata.vim fixes; ftdetect backlog.data as JSON
This commit is contained in:
parent
722cc9b300
commit
c92139389a
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
" Taskwarrior data files
|
||||
au BufRead,BufNewFile {pending,completed,undo}.data set filetype=taskdata
|
||||
au BufRead,BufNewFile backlog.data set filetype=javascript
|
||||
|
||||
" Taskwarrior configuration file
|
||||
au BufRead,BufNewFile .taskrc set filetype=taskrc
|
||||
|
|
|
@ -20,6 +20,7 @@ endif
|
|||
" Key Names for values.
|
||||
syn keyword taskdataKey description due end entry imask mask parent
|
||||
syn keyword taskdataKey priority project recur start status tags uuid
|
||||
syn keyword taskdataKey modified scheduled until wait
|
||||
syn match taskdataKey "annotation_\d\+"
|
||||
syn match taskdataUndo "^time.*$"
|
||||
syn match taskdataUndo "^\(old \|new \|---\)"
|
||||
|
@ -27,7 +28,7 @@ syn match taskdataUndo "^\(old \|new \|---\)"
|
|||
" Values associated with key names.
|
||||
"
|
||||
" Strings
|
||||
syn region taskdataString matchgroup=Normal start=+"+ end=+"+
|
||||
syn region taskdataString matchgroup=Normal start=+"+ skip=+\\"+ end=+"+
|
||||
\ contains=taskdataEncoded,taskdataUUID,@Spell
|
||||
"
|
||||
" Special Embedded Characters (e.g., ",")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue