added support for patran and dakota

This commit is contained in:
Martin Grenfell 2008-03-10 21:10:22 +13:00
parent 4f05d713b4
commit aafe01e4e9
2 changed files with 8 additions and 0 deletions

View File

@ -860,6 +860,9 @@ to get illegal syntax when uncommenting them.
============================================================================== ==============================================================================
8. Changelog *NERDComChangelog* 8. Changelog *NERDComChangelog*
2.something
- added support for patran and dakota, thx to Jacobo Diaz for the email
2.1.11 2.1.11
- fixed a bug with the selection option and visual commenting (again). - fixed a bug with the selection option and visual commenting (again).
Thanks to Ingo Karkat (again). Thanks to Ingo Karkat (again).
@ -1211,3 +1214,4 @@ Vladimir Lomov asymptote
Marco mrxvtrc, aap Marco mrxvtrc, aap
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate
Chen Xing Wikipedia Chen Xing Wikipedia
Jacobo Diaz dakota, patran

View File

@ -256,6 +256,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimitersWithAlternative('//','', '/*','*/') call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "dcl" elseif a:filetype == "dcl"
call s:MapDelimiters('$!', '') call s:MapDelimiters('$!', '')
elseif a:filetype == "dakota"
call s:MapDelimiters('#', '')
elseif a:filetype == "debchangelog" elseif a:filetype == "debchangelog"
call s:MapDelimiters('', '') call s:MapDelimiters('', '')
elseif a:filetype == "debcontrol" elseif a:filetype == "debcontrol"
@ -542,6 +544,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimitersWithAlternative('{','}', '(*', '*)') call s:MapDelimitersWithAlternative('{','}', '(*', '*)')
elseif a:filetype == "passwd" elseif a:filetype == "passwd"
call s:MapDelimiters('','') call s:MapDelimiters('','')
elseif a:filetype == "patran"
call s:MapDelimitersWithAlternative('$','','/*', '*/')
elseif a:filetype == "pcap" elseif a:filetype == "pcap"
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype == "pccts" elseif a:filetype == "pccts"