From 776f69e684eb76cfac095c596e7a7e90df1f022f Mon Sep 17 00:00:00 2001 From: azdkj532 Date: Tue, 17 Mar 2015 13:46:04 +0800 Subject: [PATCH 1/2] according to pep8, we need a space after '#' --- plugin/NERD_commenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index b7ba977..3b64bc0 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -303,7 +303,7 @@ let s:delimiterMap = { \ 'psf': { 'left': '#' }, \ 'ptcap': { 'left': '#' }, \ 'puppet': { 'left': '#' }, - \ 'python': { 'left': '#' }, + \ 'python': { 'left': '# ' }, \ 'radiance': { 'left': '#' }, \ 'ratpoison': { 'left': '#' }, \ 'r': { 'left': '#' }, From 3a60b6b1ec39f7ba765e55de18935a1e957cad29 Mon Sep 17 00:00:00 2001 From: azdkj532 Date: Thu, 30 Apr 2015 13:34:25 +0800 Subject: [PATCH 2/2] add the attribute 'leftAlt' to python --- plugin/NERD_commenter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 3b64bc0..816a4d2 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -303,7 +303,7 @@ let s:delimiterMap = { \ 'psf': { 'left': '#' }, \ 'ptcap': { 'left': '#' }, \ 'puppet': { 'left': '#' }, - \ 'python': { 'left': '# ' }, + \ 'python': { 'left': '# ', 'leftAlt': '#' }, \ 'radiance': { 'left': '#' }, \ 'ratpoison': { 'left': '#' }, \ 'r': { 'left': '#' },