X-Git-Url: http://git.madism.org/?p=~madcoder%2Fdotfiles.git;a=blobdiff_plain;f=vim%2Fsyntax%2Fdebhints.vim;fp=vim%2Fsyntax%2Fdebhints.vim;h=0000000000000000000000000000000000000000;hp=599efdee1ba3054278961fb1ea73296b7d3db72c;hb=2b85ea4f6bff86e46229a082fa897481e033aec1;hpb=b6bd4eafe7c01514ccc15dc22b3d902b7f1dc194 diff --git a/vim/syntax/debhints.vim b/vim/syntax/debhints.vim deleted file mode 100644 index 599efde..0000000 --- a/vim/syntax/debhints.vim +++ /dev/null @@ -1,30 +0,0 @@ -" Vim syntax file - -" Quit when a (custom) syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -setlocal iskeyword+=- - -syn region hintComment start=/^#/ end=/$/ contains=hintDate -syn region hintLine start=/^[^#]/ end=/$/ contains=hintCommand,hintPkgSpec - -syn match hintDate contained "\<20[0-9]\{6\}\>" - -syn keyword hintCommand contained hint easy force-hint remove force block approve unblock urgent age-days block-all finished nextgroup=hintPkgSpec -syn match hintPkgSpec contained "\(\w\|-\)\+\/\(\w\|[.~+\-]\)\+" contains=hintPkgVersion -syn match hintPkgVersion contained "\/\(\w\|[.~+\-]\)\+"hs=s+1 - - -" Define the default highlighting. -" Only used when an item doesn't have highlighting yet -hi def link hintDate Include -hi def link hintComment Comment - -hi def link hintCommand Keyword -hi def link hintPkgVersion Number - -let b:current_syntax = "debhints" - -" vim: ts=8 sw=2