Vim syntax highlighting (thanks to John Florian)
This commit is contained in:
37
scripts/vim/ftdetect/task.vim
Normal file
37
scripts/vim/ftdetect/task.vim
Normal file
@@ -0,0 +1,37 @@
|
||||
" Vim support file to detect task data files and single task edits
|
||||
"
|
||||
" Maintainer: John Florian <jflorian@doubledog.org>
|
||||
"
|
||||
"
|
||||
" Copyright 2009 John Florian
|
||||
" All rights reserved.
|
||||
"
|
||||
" This file is part of the task project.
|
||||
"
|
||||
" This program is free software; you can redistribute it and/or modify it under
|
||||
" the terms of the GNU General Public License as published by the Free Software
|
||||
" Foundation; either version 2 of the License, or (at your option) any later
|
||||
" version.
|
||||
"
|
||||
" This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
" FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
" details.
|
||||
"
|
||||
" You should have received a copy of the GNU General Public License along with
|
||||
" this program; if not, write to the
|
||||
"
|
||||
" Free Software Foundation, Inc.,
|
||||
" 51 Franklin Street, Fifth Floor,
|
||||
" Boston, MA
|
||||
" 02110-1301
|
||||
" USA
|
||||
"
|
||||
"
|
||||
|
||||
|
||||
" for the raw data files
|
||||
au BufRead,BufNewFile {pending,completed}.data set filetype=taskdata
|
||||
|
||||
" for 'task 42 edit'
|
||||
au BufRead,BufNewFile *.task set filetype=taskedit
|
||||
Reference in New Issue
Block a user