From e164c00246f24b49b0f731890c76c384e2c4d60e Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 9 Sep 2008 22:49:30 +1200 Subject: [PATCH] add support for calibre --- doc/NERD_commenter.txt | 2 +- plugin/NERD_commenter.vim | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/NERD_commenter.txt b/doc/NERD_commenter.txt index fd8b0ba..af6b5e5 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -1261,7 +1261,7 @@ Nicolas Weber markdown, objcpp tinoucas gentoo-conf-d Greg Weber D, haml Bruce Sherrod velocity -timberke cobol +timberke cobol, calibre Aaron Schaefer factor Laurent ARNOUD asterisk, mplayerconf Kuchma Michael plsql diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index d82fe5c..2e960af 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -204,6 +204,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('', '') elseif a:filetype == "caos" call s:MapDelimiters('*', '') + elseif a:filetype == "calibre" + call s:MapDelimiters('//','') elseif a:filetype == "catalog" call s:MapDelimiters('--','--') elseif a:filetype == "c"