From 226063bfc12ca4008525211a397e74675621c8c1 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 3 Oct 2008 23:23:08 +1300 Subject: [PATCH] add support for SVNinfo --- doc/NERD_commenter.txt | 5 +++-- plugin/NERD_commenter.vim | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 6b12ba6..160046c 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -806,9 +806,9 @@ if your face looked like a toaster and a t-rex put together? :( - the default mappings now start with c instead of ,c - see :help NERDComMappings, and :help NERDCreateDefaultMappings for more info - - add support for applescript, calbire, man, SVNcommit, potwiki, txt2tags. + - add support for applescript, calbire, man, SVNcommit, potwiki, txt2tags and SVNinfo. Thanks to nicothakis, timberke, sgronblo, mntnoe, Bernhard Grotz, John - O'Shea and François respectively. + O'Shea, François and Giacomo Mariani respectively. - bugfix for haskell delimiters. Thanks to mntnoe. 2.1.18 - add support for llvm. Thanks to nicothakis. @@ -1026,6 +1026,7 @@ Phillip Kovalev xquery Bernhard Grotz potwiki sgronblo man François txt2tags +Giacomo Mariani SVNinfo ============================================================================== 9. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 8d6f40f..dfe0296 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -771,6 +771,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('','') elseif a:filetype == "SVNdiff" call s:MapDelimiters('','') + elseif a:filetype == "SVNinfo" + call s:MapDelimiters('','') elseif a:filetype == "systemverilog" call s:MapDelimitersWithAlternative('//','', '/*','*/') elseif a:filetype == "tads"