Skip to content

Commit 7af1022

Browse files
abhishekgahlotmarijnh
authored andcommitted
[d mode] Fix line comments
1 parent b6800d1 commit 7af1022

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

mode/d/d.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,12 @@ CodeMirror.defineMode("d", function(config, parserConfig) {
182182
else return ctx.indented + (closing ? 0 : indentUnit);
183183
},
184184

185-
electricChars: "{}"
185+
electricChars: "{}",
186+
blockCommentStart: "/*",
187+
blockCommentEnd: "*/",
188+
blockCommentContinue: " * ",
189+
lineComment: "//",
190+
fold: "brace"
186191
};
187192
});
188193

0 commit comments

Comments
 (0)