From c5623a31e242231e0c400ce9809112eb0361a259 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 29 Apr 2008 22:03:10 +1200 Subject: [PATCH] add support for vimperator --- doc/NERD_commenter.txt | 1 + plugin/NERD_commenter.vim | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index 5de6ed8..cb6d2a0 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -868,6 +868,7 @@ to get illegal syntax when uncommenting them. - added support for liquid templates. - added support for services and gitcommit, thx to Christophe Benz for the email + - added support for vimperator, thx to A Pontus for the issue - set the NERDRemoveExtraSpaces option to 1 by default as the doc states - fixed a bug where extra spaces werent being removed sometimes, thx to Zhang Shuhan for the report diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index c4eaca2..678505c 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -814,6 +814,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('"','') elseif a:filetype == "viminfo" call s:MapDelimiters('','') + elseif a:filetype == "vimperator" + call s:MapDelimiters('"','') elseif a:filetype == "virata" call s:MapDelimiters('%', '') elseif a:filetype == "vo_base"