add support for txt2tags

This commit is contained in:
Martin Grenfell
2008-10-03 23:19:31 +13:00
parent c2a3f093ae
commit d6282ef7a3
2 changed files with 6 additions and 3 deletions

View File

@@ -806,9 +806,9 @@ if your face looked like a toaster and a t-rex put together? :(
- the default mappings now start with <leader>c instead of ,c - the default mappings now start with <leader>c instead of ,c
- see :help NERDComMappings, and :help NERDCreateDefaultMappings for - see :help NERDComMappings, and :help NERDCreateDefaultMappings for
more info more info
- add support for applescript, calbire, man, SVNcommit and potwiki. Thanks - add support for applescript, calbire, man, SVNcommit, potwiki, txt2tags.
to nicothakis, timberke, sgronblo, mntnoe, Bernhard Grotz and John Thanks to nicothakis, timberke, sgronblo, mntnoe, Bernhard Grotz, John
O'Shea respectively. O'Shea and François respectively.
- bugfix for haskell delimiters. Thanks to mntnoe. - bugfix for haskell delimiters. Thanks to mntnoe.
2.1.18 2.1.18
- add support for llvm. Thanks to nicothakis. - add support for llvm. Thanks to nicothakis.
@@ -1025,6 +1025,7 @@ Jerónimo Carballo stata
Phillip Kovalev xquery Phillip Kovalev xquery
Bernhard Grotz potwiki Bernhard Grotz potwiki
sgronblo man sgronblo man
François txt2tags
============================================================================== ==============================================================================
9. License *NERDComLicense* 9. License *NERDComLicense*

View File

@@ -811,6 +811,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
call s:MapDelimiters('#', '') call s:MapDelimiters('#', '')
elseif a:filetype == "tssgm" elseif a:filetype == "tssgm"
call s:MapDelimiters("comment = '","'") call s:MapDelimiters("comment = '","'")
elseif a:filetype == "txt2tags"
call s:MapDelimiters('%','')
elseif a:filetype == "uc" elseif a:filetype == "uc"
call s:MapDelimitersWithAlternative('//','', '/*','*/') call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "uil" elseif a:filetype == "uil"