Skip to content
Snippets Groups Projects
Commit cb01fa18 authored by Kevin Kwok's avatar Kevin Kwok Committed by Marijn Haverbeke
Browse files

[sql mode] Set lineComment to "--" when no other style is used

parent 4292c2ff
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
blockCommentStart: "/*",
blockCommentEnd: "*/",
lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : null
lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : "--"
};
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment