mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Updated codemirror to 5.4.0
This commit is contained in:
parent
1d843c8ac2
commit
01685c255f
69 changed files with 2988 additions and 558 deletions
|
@ -21,7 +21,7 @@ CodeMirror.defineMode("kotlin", function (config, parserConfig) {
|
|||
var multiLineStrings = parserConfig.multiLineStrings;
|
||||
|
||||
var keywords = words(
|
||||
"package continue return object while break class data trait throw super" +
|
||||
"package continue return object while break class data trait interface throw super" +
|
||||
" when type this else This try val var fun for is in if do as true false null get set");
|
||||
var softKeywords = words("import" +
|
||||
" where by get set abstract enum open annotation override private public internal" +
|
||||
|
@ -272,7 +272,10 @@ CodeMirror.defineMode("kotlin", function (config, parserConfig) {
|
|||
},
|
||||
|
||||
closeBrackets: {triples: "'\""},
|
||||
electricChars: "{}"
|
||||
electricChars: "{}",
|
||||
blockCommentStart: "/*",
|
||||
blockCommentEnd: "*/",
|
||||
lineComment: "//"
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue