Skip to content

Commit c8d3a5b

Browse files
committed
kotlin syntax highlighting (#831 #1038)
1 parent ff16978 commit c8d3a5b

File tree

3 files changed

+615
-1
lines changed

3 files changed

+615
-1
lines changed

Dependencies/monaco-textmate.bundle/app.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"comments": {
3+
"lineComment": "//",
4+
"blockComment": [ "/*", "*/" ]
5+
},
6+
"brackets": [
7+
["{", "}"],
8+
["[", "]"],
9+
["(", ")"]
10+
],
11+
"autoClosingPairs": [
12+
{ "open": "{", "close": "}" },
13+
{ "open": "[", "close": "]" },
14+
{ "open": "(", "close": ")" },
15+
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
16+
{ "open": "\"", "close": "\"", "notIn": ["string"] },
17+
{ "open": "/*", "close": " */", "notIn": ["string"] }
18+
],
19+
"surroundingPairs": [
20+
["{", "}"],
21+
["[", "]"],
22+
["(", ")"],
23+
["<", ">"],
24+
["'", "'"],
25+
["\"", "\""]
26+
],
27+
"folding": {
28+
"offSide": true,
29+
"markers": {
30+
"start": "^\\s*//\\s*#?region",
31+
"end": "^\\s*//\\s*#?endregion"
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)