From 68bf65fcd264a94cea6874195eb528f8cc7ef096 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 12 Oct 2008 22:00:02 +1300 Subject: [PATCH] fix automake comments --- 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 36438ce..2f751a7 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -800,6 +800,7 @@ if your face looked like a toaster and a t-rex put together? :( 2.x.x - add support for newlisp, thanks to Matthew Lee Hinman. + - fix automake comments, thanks to Elias Pipping 2.2.0 - rewrote the mappings system to be more "standard". @@ -1030,6 +1031,7 @@ sgronblo man François txt2tags Giacomo Mariani SVNinfo Matthew Lee Hinman newlisp +Elias Pipping automake ============================================================================== 9. License *NERDComLicense* diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index dbcae8a..5552c92 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -164,7 +164,7 @@ function s:SetUpForNewFiletype(filetype, forceReset) elseif a:filetype == "autoit" call s:MapDelimiters(';','') elseif a:filetype == "automake" - call s:MapDelimitersWithAlternative('#','', 'dnl ', '') + call s:MapDelimiters('##','') elseif a:filetype == "ave" call s:MapDelimiters("'",'') elseif a:filetype == "awk"