add support for stata

This commit is contained in:
Martin Grenfell
2008-07-13 12:09:22 +12:00
parent 4567fae10f
commit 165d1e3686
2 changed files with 4 additions and 0 deletions

View File

@@ -855,6 +855,7 @@ if your face looked like a toaster and a t-rex put together? :(
2.1.17 2.1.17
- fixed haskell delimiters (hackily). Thanks to Elias Pipping. - fixed haskell delimiters (hackily). Thanks to Elias Pipping.
- add support for mailcap. Thanks to Pascal Brueckner. - add support for mailcap. Thanks to Pascal Brueckner.
- add support for stata. Thanks to Jerónimo Carballo.
2.1.16 2.1.16
@@ -1267,6 +1268,7 @@ Indriði Einarsson mason
Chris map Chris map
Krzysztof A. Adamski group Krzysztof A. Adamski group
Pascal Brueckner mailcap Pascal Brueckner mailcap
Jerónimo Carballo stata
============================================================================== ==============================================================================
8. License *NERDComLicense* 8. License *NERDComLicense*

View File

@@ -761,6 +761,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype == "st" elseif a:filetype == "st"
call s:MapDelimiters('"','') call s:MapDelimiters('"','')
elseif a:filetype == "stata"
call s:MapDelimiters('/*','*/')
elseif a:filetype == "stp" elseif a:filetype == "stp"
call s:MapDelimiters('--', '') call s:MapDelimiters('--', '')
elseif a:filetype == "strace" elseif a:filetype == "strace"