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"