From 6337d56893705112baedb6012f4ec5a526d283de Mon Sep 17 00:00:00 2001 From: marty Date: Fri, 22 Feb 2008 22:45:56 +1300 Subject: [PATCH] added support for Wikipedia, mplayerconf and mkd --- doc/NERD_commenter.txt | 11 +++++++++-- plugin/NERD_commenter.vim | 6 ++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 6100340..feb10cd 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -860,6 +860,10 @@ to get illegal syntax when uncommenting them. ============================================================================== 8. Changelog *NERDComChangelog* +2.1.10 + - added support for Wikipedia (thanks to Chen Xing) + - added support for mplayerconf + 2.1.9 - added support for mrxvtrc and aap, thx to Marco for the emails - added dummy support for SVNAnnotate, SVKAnnotate and CVSAnnotate, thx to @@ -1149,6 +1153,8 @@ comments and the NERDSpaceDelims option. Thanks to marco for suggesting NERDDefaultNesting be set by default. +Thanks to Ingo Karkat for the bug reports and the bugfix patch. + Not to forget! Thanks to the following people for sending me new filetypes to support :D @@ -1171,7 +1177,7 @@ Lizendir fstab Michael Böhler autoit, autohotkey and docbk Aaron Small cmake Ramiro htmldjango and django -Stefano Zacchiroli debcontrol and debchangelog +Stefano Zacchiroli debcontrol, debchangelog, mkd Alex Tarkovsky ebuild and eclass Jorge Rodrigues gams Rainer Müller Objective C @@ -1190,7 +1196,7 @@ Greg Weber D, haml Bruce Sherrod velocity timberke cobol Aaron Schaefer factor -Laurent ARNOUD asterisk +Laurent ARNOUD asterisk, mplayerconf Kuchma Michael plsql Brett Warneke spectre Pipp lhaskell @@ -1198,3 +1204,4 @@ Renald Buter scala Vladimir Lomov asymptote Marco mrxvtrc, aap nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate +Chen Xing Wikipedia diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 4c3af2e..bf1f504 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -474,6 +474,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('%', '') elseif a:filetype == "mib" call s:MapDelimiters('--', '') + elseif a:filetype == "mkd" + call s:MapDelimiters('>', '') elseif a:filetype == "mma" call s:MapDelimiters('(*','*)') elseif a:filetype == "model" @@ -486,6 +488,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('(*','*)') elseif a:filetype == "monk" call s:MapDelimiters(';', '') + elseif a:filetype == "mplayerconf" + call s:MapDelimiters('#', '') elseif a:filetype == "mrxvtrc" call s:MapDelimiters('#', '') elseif a:filetype == "mush" @@ -790,6 +794,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('##', '') elseif a:filetype == "wget" call s:MapDelimiters('#', '') + elseif a:filetype ==? "Wikipedia" + call s:MapDelimiters('') elseif a:filetype == "winbatch" call s:MapDelimiters(';', '') elseif a:filetype == "wml"