Skip to content
Snippets Groups Projects
Commit d45038f1 authored by satamas's avatar satamas Committed by Marijn Haverbeke
Browse files

[clike mode] Support number with underscores for Kotlin 1.1.

parent d8d77035
No related branches found
No related tags found
No related merge requests found
......@@ -587,6 +587,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
intendSwitch: false,
indentStatements: false,
multiLineStrings: true,
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
blockKeywords: words("catch class do else finally for if where try while enum"),
defKeywords: words("class val var object package interface fun"),
atoms: words("true false null this"),
......
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