add support for slice filetype

This commit is contained in:
Martin Grenfell 2008-04-29 22:08:29 +12:00
parent c5623a31e2
commit 4b0e7a8f1a
2 changed files with 3 additions and 0 deletions

View File

@ -869,6 +869,7 @@ to get illegal syntax when uncommenting them.
- added support for services and gitcommit, thx to Christophe Benz
for the email
- added support for vimperator, thx to A Pontus for the issue
- added support for slice, thx to Stromnov for the issue
- set the NERDRemoveExtraSpaces option to 1 by default as the doc states
- fixed a bug where extra spaces werent being removed sometimes, thx to
Zhang Shuhan for the report

View File

@ -696,6 +696,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('%', '')
elseif a:filetype == "sl"
call s:MapDelimiters('/*','*/')
elseif a:filetype == "slice"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "slrnrc"
call s:MapDelimiters('%', '')
elseif a:filetype == "sm"