From fa00e9820cd5b54b5ec37d2bf1de7c40c4f08896 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Thu, 23 Jan 2020 23:36:27 +0300 Subject: [PATCH] Use Jinja comment style first, HTML as alternate (closes #414) --- 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 3069cbe..19f9b50 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -244,7 +244,7 @@ let s:delimiterMap = { \ 'javascript.jquery': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'jess': { 'left': ';' }, \ 'jgraph': { 'left': '(*', 'right': '*)' }, - \ 'jinja': { 'left': '', 'leftAlt': '{#', 'rightAlt': '#}' }, + \ 'jinja': { 'left': '{#', 'right': '#}', 'leftAlt': '' }, \ 'jproperties': { 'left': '#' }, \ 'jsp': { 'left': '<%--', 'right': '--%>' }, \ 'julia': { 'left': '# ', 'leftAlt': '#=', 'rightAlt': '=#' },