add support for ps1

This commit is contained in:
Martin Grenfell
2008-10-25 11:49:36 +13:00
parent fe73c80dc8
commit 1d92203107
2 changed files with 4 additions and 1 deletions

View File

@@ -804,6 +804,7 @@ if your face looked like a toaster and a t-rex put together? :(
- make haml comments default to -# with / as the alternative delimiter,
thanks to tpope
- add support for actionscript and processing thanks to Edwin Benavides
- add support for ps1 (powershell), thanks to Jason Mills
2.2.0
- rewrote the mappings system to be more "standard".
@@ -990,7 +991,7 @@ Stefano Zacchiroli debcontrol, debchangelog, mkd
Alex Tarkovsky ebuild and eclass
Jorge Rodrigues gams
Rainer Müller Objective C
Jason Mills Groovy
Jason Mills Groovy, ps1
Normandie Azucena vera
Florian Apolloner ldif
David Fishburn lookupfile

View File

@@ -627,6 +627,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('/*','*/')
elseif a:filetype == "prolog"
call s:MapDelimitersWithAlternative('%','','/*','*/')
elseif a:filetype == "ps1"
call s:MapDelimiters('#', '')
elseif a:filetype == "psf"
call s:MapDelimiters('#', '')
elseif a:filetype == "ptcap"