added support for SVNdiff, gitAnnotate and gitdiff

This commit is contained in:
Martin Grenfell 2008-03-31 18:11:06 +13:00
parent 6089d08ed3
commit 6304c65434
2 changed files with 11 additions and 1 deletions

View File

@ -864,6 +864,8 @@ to get illegal syntax when uncommenting them.
- added support for patran and dakota, thx to Jacobo Diaz for the email
- added support for gentoo-env-d, gentoo-init-d, gentoo-make-conf, grub,
modconf and sudoers filetypes, thx to Li Jin for the patch.
- added support for SVNdiff, gitAnnotate, gitdiff. Thx to nicothakis for
posting the issue
2.1.11
- fixed a bug with the selection option and visual commenting (again).
@ -1214,8 +1216,10 @@ Pipp lhaskell
Renald Buter scala
Vladimir Lomov asymptote
Marco mrxvtrc, aap
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate,
SVNdiff, gitAnnotate, gitdiff
Chen Xing Wikipedia
Jacobo Diaz dakota, patran
Li Jin gentoo-env-d, gentoo-init-d,
gentoo-make-conf, grub, modconf, sudoers

View File

@ -356,6 +356,10 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '')
elseif a:filetype == 'gentoo-package-use'
call s:MapDelimiters('#', '')
elseif a:filetype == 'gitAnnotate'
call s:MapDelimiters('', '')
elseif a:filetype == 'gitdiff'
call s:MapDelimiters('', '')
elseif a:filetype == "gnuplot"
call s:MapDelimiters('#','')
elseif a:filetype == "groovy"
@ -736,6 +740,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('','')
elseif a:filetype == "SVNcommitlog"
call s:MapDelimiters('','')
elseif a:filetype == "SVNdiff"
call s:MapDelimiters('','')
elseif a:filetype == "systemverilog"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "tads"