From 134acc595e369747e9f81203cc2b4ed3b1e97f1f Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Tue, 9 Sep 2008 22:44:07 +1200 Subject: [PATCH] add support for man --- 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 326736f..fd8b0ba 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -1290,6 +1290,7 @@ Pascal Brueckner mailcap Jerónimo Carballo stata Phillip Kovalev xquery Bernhard Grotz potwiki +sgronblo man ============================================================================== 8. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 41a3203..d82fe5c 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -488,6 +488,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#','') elseif a:filetype == "make" call s:MapDelimiters('#','') + elseif a:filetype == "man" + call s:MapDelimiters('."', '') elseif a:filetype == "map" call s:MapDelimiters('%', '') elseif a:filetype == "maple"