From cc9f9865142d204e998d7cd982048d744d395204 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sat, 25 Oct 2008 11:36:01 +1300 Subject: [PATCH] add support for processing --- 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 af58330..0e45988 100644 --- a/doc/NERD_commenter.txt +++ b/doc/NERD_commenter.txt @@ -803,7 +803,7 @@ if your face looked like a toaster and a t-rex put together? :( - fix automake comments, thanks to Elias Pipping - make haml comments default to -# with / as the alternative delimiter, thanks to tpope - - add support for actionscript, thanks to Edwin Benavides + - add support for actionscript and processing thanks to Edwin Benavides 2.2.0 - rewrote the mappings system to be more "standard". diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index eac7dc0..1feaa0f 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -619,6 +619,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('%', '') elseif a:filetype == "ppwiz" call s:MapDelimiters(';;', '') + elseif a:filetype == "processing" + call s:MapDelimitersWithAlternative('//','', '/*','*/') elseif a:filetype == "procmail" call s:MapDelimiters('#', '') elseif a:filetype == "progress"