File: task.vim

package info (click to toggle)
task 2.6.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 7,076 kB
  • sloc: cpp: 45,964; python: 12,713; sh: 785; perl: 189; makefile: 21
file content (24 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
" Vim support file to detect Taskwarrior data and configuration files and 
" single task edits
"
" Maintainer:   John Florian <jflorian@doubledog.org>
" Updated:	Thu Dec 10 18:28:26 EST 2009
"
" Copyright 2009 - 2021 John Florian
"
" This file is available under the MIT license.
" For the full text of this license, see COPYING.


" 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
au BufRead,BufNewFile taskrc				set filetype=taskrc

" Taskwarrior handling of 'task 42 edit'
au BufRead,BufNewFile *.task				set filetype=taskedit

" vim:noexpandtab