diff options
author | Wu Cheng-Han | 2015-07-04 11:31:01 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2015-07-04 11:31:01 +0800 |
commit | 01685c255fda6e13f1cd2980130d2e388d52125c (patch) | |
tree | c329610e7011c0d77c55ef54f371181aeb362d13 /public/vendor/codemirror/mode/kotlin | |
parent | 1d843c8ac257d512a96cf054ab24e6a3c2f34e26 (diff) |
Updated codemirror to 5.4.0
Diffstat (limited to 'public/vendor/codemirror/mode/kotlin')
-rwxr-xr-x | public/vendor/codemirror/mode/kotlin/kotlin.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/public/vendor/codemirror/mode/kotlin/kotlin.js b/public/vendor/codemirror/mode/kotlin/kotlin.js index 1efec85d..e9a6a94e 100755 --- a/public/vendor/codemirror/mode/kotlin/kotlin.js +++ b/public/vendor/codemirror/mode/kotlin/kotlin.js @@ -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: "//" }; }); |