add support for pdf

This commit is contained in:
Martin Grenfell
2009-03-06 16:14:13 +13:00
parent 0bd4d5bbca
commit 23aa888990
2 changed files with 4 additions and 2 deletions

View File

@@ -807,7 +807,7 @@ if your face looked like a toaster and a t-rex put together? :(
- add support for javacc, thanks to Matt Tolton.
- make <%# %> the default delims for eruby, thanks to tpope.
- add support for javascript.jquery, thanks to Ivan Devat.
- add support for cucumber, fix sass delims, thanks to tpope
- add support for cucumber and pdf, fix sass delims, thanks to tpope
2.2.1
- add support for newlisp and clojure, thanks to Matthew Lee Hinman.
@@ -1072,7 +1072,7 @@ Andrey Skvortsov mp
Simon Hengel htmlcheetah
Matt Tolton javacc
Ivan Devat javascript.jquery
tpope cucumber
tpope cucumber,pdf
==============================================================================
9. License *NERDComLicense*

View File

@@ -612,6 +612,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '')
elseif a:filetype ==? "pccts"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype ==? "pdf"
call s:MapDelimiters('%', '')
elseif a:filetype ==? "perl"
call s:MapDelimiters('#', '')
elseif a:filetype ==? "pfmain"