Skip to content

Commit cb01fa1

Browse files
antimatter15marijnh
authored andcommitted
[sql mode] Set lineComment to "--" when no other style is used
1 parent 4292c2f commit cb01fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/sql/sql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
193193

194194
blockCommentStart: "/*",
195195
blockCommentEnd: "*/",
196-
lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : null
196+
lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : "--"
197197
};
198198
});
199199

0 commit comments

Comments
 (0)