aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_rivet.lua5
2 files changed, 3 insertions, 4 deletions
diff --git a/manifest.json b/manifest.json
index 5601665..0b11533 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1099,7 +1099,7 @@
},
{
"description": "Syntax for the [Rivet](https://github.com/rivet-lang/rivet) programming language",
- "version": "0.4.3",
+ "version": "0.4.4",
"path": "plugins/language_rivet.lua",
"id": "language_rivet",
"mod_version": "3",
diff --git a/plugins/language_rivet.lua b/plugins/language_rivet.lua
index a5837c8..18b4e45 100644
--- a/plugins/language_rivet.lua
+++ b/plugins/language_rivet.lua
@@ -61,14 +61,14 @@ syntax.add {
["match"] = "keyword",
["mut"] = "keyword",
["or"] = "keyword",
- ["public"] = "keyword",
+ ["pub"] = "keyword",
["return"] = "keyword",
- ["static"] = "keyword",
["struct"] = "keyword",
["test"] = "keyword",
["throw"] = "keyword",
["trait"] = "keyword",
["unsafe"] = "keyword",
+ ["var"] = "keyword",
["while"] = "keyword",
-- literals
@@ -76,7 +76,6 @@ syntax.add {
["none"] = "literal",
["self"] = "literal",
["true"] = "literal",
- ["undefined"] = "literal",
-- types
["never"] = "keyword2",