From ae430a62fc0ab32b869efe14ba590bb48424fe54 Mon Sep 17 00:00:00 2001 From: Arthur Debert Date: Wed, 2 Sep 2009 23:02:42 +0800 Subject: [PATCH] Added support for python comments. Signed-off-by: Martin Grenfell --- plugin/NERD_commenter.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 18a348f..96b3251 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -539,6 +539,8 @@ function s:SetUpForNewFiletype(filetype, forceReset) call s:MapDelimiters('#', '') elseif a:filetype ==? "ptcap" call s:MapDelimiters('#', '') + elseif a:filetype ==? "python" + call s:MapDelimiters('#','') elseif a:filetype ==? "radiance" call s:MapDelimiters('#', '') elseif a:filetype ==? "ratpoison"