add support for javacc

This commit is contained in:
Martin Grenfell
2008-12-14 18:39:55 +13:00
parent 53d437a3c8
commit caefbe56fd
2 changed files with 4 additions and 0 deletions

View File

@@ -804,6 +804,7 @@ if your face looked like a toaster and a t-rex put together? :(
- match filetypes case insensitively
- add support for mp (metapost), thanks to Andrey Skvortsov.
- add support for htmlcheetah, thanks to Simon Hengel.
- add support for javacc, thanks to Matt Tolton.
2.2.1
- add support for newlisp and clojure, thanks to Matthew Lee Hinman.
@@ -1066,6 +1067,7 @@ Thilo Six dhcpd, limits, ntp, resolv, rgb, sysctl,
udevconf, udevrules
Andrey Skvortsov mp
Simon Hengel htmlcheetah
Matt Tolton javacc
==============================================================================
9. License *NERDComLicense*

View File

@@ -426,6 +426,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('/*','*/')
elseif a:filetype ==? "java"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "javacc"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "javascript"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "jess"