aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_rivet.lua5
2 files changed, 4 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json
index 277665b..cf45122 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1080,7 +1080,7 @@
},
{
"description": "Syntax for the [Rivet](https://github.com/rivet-lang/rivet) programming language",
- "version": "0.2",
+ "version": "0.3",
"path": "plugins/language_rivet.lua",
"id": "language_rivet",
"mod_version": "3",
diff --git a/plugins/language_rivet.lua b/plugins/language_rivet.lua
index cccccf0..b389292 100644
--- a/plugins/language_rivet.lua
+++ b/plugins/language_rivet.lua
@@ -63,15 +63,16 @@ syntax.add {
["or"] = "keyword",
["public"] = "keyword",
["return"] = "keyword",
+ ["static"] = "keyword",
["self"] = "literal",
["struct"] = "keyword",
["switch"] = "keyword",
["test"] = "keyword",
+ ["throw"] = "keyword",
["trait"] = "keyword",
["true"] = "literal",
- ["undefined"] = "keyword",
+ ["undefined"] = "literal",
["unsafe"] = "keyword",
- ["var"] = "keyword",
["while"] = "keyword",
-- types