Skip to content
Snippets Groups Projects
Commit 4f081574 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[sql mode] Add comment style properties

parent df7ce151
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,11 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
if (!cx) return CodeMirror.Pass;
if (cx.align) return cx.col + (textAfter.charAt(0) == cx.type ? 0 : 1);
else return cx.indent + config.indentUnit;
}
},
blockCommentStart: "/*",
blockCommentEnd: "*/",
lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : null
};
});
......
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