plum
git clone https://git.pyrossh.dev/plum
A statically typed, imperative programming language inspired by rust, python
ab7ef72
— Peter John
2026-08-10T10:23:59+05:30
fix(tooling): update VSCode TextMate grammar for fun keyword, drop dead <Receiver> pattern
tooling/vscode-plum/syntaxes/plum.tmLanguage.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"keywords": {
|
|
40
40
|
"patterns": [
|
|
41
41
|
{
|
|
42
|
-
"match": "\\b(module|type|enum|trait|
|
|
42
|
+
"match": "\\b(module|type|enum|trait|fun|self)\\b",
|
|
43
43
|
"name": "keyword.const.plum"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -173,23 +173,6 @@
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
{
|
|
177
|
-
"begin": "([[:lower:]][[:word:]]*)<([[:upper:]][[:alnum:]]*)>()",
|
|
178
|
-
"end": "\\)",
|
|
179
|
-
"patterns": [
|
|
180
|
-
{
|
|
181
|
-
"include": "$self"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"captures": {
|
|
185
|
-
"1": {
|
|
186
|
-
"name": "entity.name.function.plum"
|
|
187
|
-
},
|
|
188
|
-
"2": {
|
|
189
|
-
"name": "keyword.control.plum"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
176
|
{
|
|
194
177
|
"name": "variable.parameter.plum",
|
|
195
178
|
"match": "\\b([[:lower:]][[:word:]]*):\\s"
|