aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rivet.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_rivet.lua')
-rw-r--r--plugins/language_rivet.lua5
1 files changed, 2 insertions, 3 deletions
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",