make <%# %> the default for eruby

This commit is contained in:
Martin Grenfell
2009-01-15 12:07:33 +13:00
parent caefbe56fd
commit 19147a70cc
2 changed files with 2 additions and 1 deletions

View File

@@ -805,6 +805,7 @@ if your face looked like a toaster and a t-rex put together? :(
- add support for mp (metapost), thanks to Andrey Skvortsov. - add support for mp (metapost), thanks to Andrey Skvortsov.
- add support for htmlcheetah, thanks to Simon Hengel. - add support for htmlcheetah, thanks to Simon Hengel.
- add support for javacc, thanks to Matt Tolton. - add support for javacc, thanks to Matt Tolton.
- make <%# %> the default delims for eruby, thanks to tpope.
2.2.1 2.2.1
- add support for newlisp and clojure, thanks to Matthew Lee Hinman. - add support for newlisp and clojure, thanks to Matthew Lee Hinman.

View File

@@ -305,7 +305,7 @@ function s:SetUpForNewFiletype(filetype, forceReset)
elseif a:filetype ==? "erlang" elseif a:filetype ==? "erlang"
call s:MapDelimiters('%', '') call s:MapDelimiters('%', '')
elseif a:filetype ==? "eruby" elseif a:filetype ==? "eruby"
call s:MapDelimitersWithAlternative('<!--', '-->', '<%#', '%>') call s:MapDelimitersWithAlternative('<%#', '%>', '<!--', '-->')
elseif a:filetype ==? "eterm" elseif a:filetype ==? "eterm"
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype ==? "expect" elseif a:filetype ==? "expect"