Skip to content

Commit 00e4195

Browse files
author
Andres Monge
committed
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
1 parent c3756d1 commit 00e4195

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin/NERD_commenter.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ let s:delimiterMap = {
290290
\ 'pilrc': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
291291
\ 'pine': { 'left': '#' },
292292
\ 'plm': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
293-
\ 'plsql': { 'left': '--', 'leftAlt': '/*', 'rightAlt': '*/' },
293+
\ 'plsql': { 'left': '-- ', 'leftAlt': '/*', 'rightAlt': '*/' },
294294
\ 'po': { 'left': '#' },
295295
\ 'postscr': { 'left': '%' },
296296
\ 'pov': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
@@ -352,9 +352,9 @@ let s:delimiterMap = {
352352
\ 'specman': { 'left': '//' },
353353
\ 'spectre': { 'left': '//', 'leftAlt': '*' },
354354
\ 'spice': { 'left': '$' },
355-
\ 'sql': { 'left': '--' },
356-
\ 'sqlforms': { 'left': '--' },
357-
\ 'sqlj': { 'left': '--' },
355+
\ 'sql': { 'left': '-- ' },
356+
\ 'sqlforms': { 'left': '-- ' },
357+
\ 'sqlj': { 'left': '-- ' },
358358
\ 'sqr': { 'left': '!' },
359359
\ 'squid': { 'left': '#' },
360360
\ 'st': { 'left': '"' },

0 commit comments

Comments
 (0)