Skip to content

Commit 5631940

Browse files
committed
update ext
1 parent f712e47 commit 5631940

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

-15.4 KB
Binary file not shown.
15.4 KB
Binary file not shown.

extensions/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "modu-lang",
33
"displayName": "Modu Lang",
44
"description": "Syntax highlightning for the Modu Programming Language",
5-
"version": "1.5.0",
5+
"version": "1.6.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/cyteon/modu"
@@ -20,7 +20,7 @@
2020
],
2121
"scripts": {
2222
"test-vscode": "vscode-test",
23-
"install": "vsce package && code --install-extension ./modu-lang-1.5.0.vsix",
23+
"install": "vsce package && code --install-extension ./modu-lang-1.6.0.vsix",
2424
"vsce": "vsce package",
2525
"test": "npm run vsce && npm run install"
2626
},

extensions/vscode/syntaxes/modu.tmLanguage.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,33 @@
1919
"keywords": {
2020
"patterns": [{
2121
"name": "keyword.control.modu",
22-
"match": "\\b(if|else|fn|let|import|as|return|loop|break|continue|for|while|and|or|in|not in)\\b"
22+
"match": "\\b(if|else|fn|let|import|as|return|loop|break|continue|for|while|and|or|in|not in|class|self)\\b"
2323
}]
2424
},
2525

2626
"strings": {
2727
"patterns": [
2828
{
29-
"name": "string.quoted.double.modu",
30-
"begin": "\"",
31-
"end": "\"",
32-
"patterns": [
33-
{
34-
"name": "constant.character.escape.modu",
35-
"match": "\\\\[nrt0\\\\\"']"
36-
}
37-
]
29+
"name": "string.quoted.double.modu",
30+
"begin": "\"",
31+
"end": "\"",
32+
"patterns": [
33+
{
34+
"name": "constant.character.escape.modu",
35+
"match": "\\\\[nrt0\\\\\"']"
36+
}
37+
]
3838
},
3939
{
40-
"name": "string.quoted.single.modu",
41-
"begin": "'",
42-
"end": "'",
43-
"patterns": [
44-
{
45-
"name": "constant.character.escape.modu",
46-
"match": "\\\\[nrt0\\\\\"']"
47-
}
48-
]
40+
"name": "string.quoted.single.modu",
41+
"begin": "'",
42+
"end": "'",
43+
"patterns": [
44+
{
45+
"name": "constant.character.escape.modu",
46+
"match": "\\\\[nrt0\\\\\"']"
47+
}
48+
]
4949
}
5050
]
5151
},

0 commit comments

Comments
 (0)