From 00e41958df01008a3eb36fa20fcab322a0bbe3f9 Mon Sep 17 00:00:00 2001 From: Andres Monge Date: Thu, 10 Jan 2013 10:12:19 +0100 Subject: [PATCH] Corrected the SQL comment keys the SQL from some strick ones, such as procedures or mySql needs an extra space after the '--' comment. so it would be '-- ' the correct sintaxis for the comment --- plugin/NERD_commenter.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index bea0bae..13c7693 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -290,7 +290,7 @@ let s:delimiterMap = { \ 'pilrc': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'pine': { 'left': '#' }, \ 'plm': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, - \ 'plsql': { 'left': '--', 'leftAlt': '/*', 'rightAlt': '*/' }, + \ 'plsql': { 'left': '-- ', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'po': { 'left': '#' }, \ 'postscr': { 'left': '%' }, \ 'pov': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, @@ -352,9 +352,9 @@ let s:delimiterMap = { \ 'specman': { 'left': '//' }, \ 'spectre': { 'left': '//', 'leftAlt': '*' }, \ 'spice': { 'left': '$' }, - \ 'sql': { 'left': '--' }, - \ 'sqlforms': { 'left': '--' }, - \ 'sqlj': { 'left': '--' }, + \ 'sql': { 'left': '-- ' }, + \ 'sqlforms': { 'left': '-- ' }, + \ 'sqlj': { 'left': '-- ' }, \ 'sqr': { 'left': '!' }, \ 'squid': { 'left': '#' }, \ 'st': { 'left': '"' },