From d05cfd190bc351225f57429cb356420ad67e112c Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 15 Mar 2017 13:18:09 +0300 Subject: [PATCH] Revert "add support for react/jsx comments (Closes #280) (#290)" This reverts commit 0e1f6f68669f67a397edc19f698812ac49476457. Given the unexpected behaviour of this and disruption to people's established work flows, I'm reverting this until a better solution can be found that only handles the special comment format inside React code blocks. --- plugin/NERD_commenter.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index 923b4ac..250b041 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -232,7 +232,6 @@ let s:delimiterMap = { \ 'javacc': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'javascript': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'javascript.jquery': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, - \ 'javascript.jsx': { 'left': '{/*', 'right': '*/}' }, \ 'jess': { 'left': ';' }, \ 'jgraph': { 'left': '(*', 'right': '*)' }, \ 'jinja': { 'left': '', 'leftAlt': '{#', 'rightAlt': '#}' },