aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_rivet.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/language_rivet.lua b/plugins/language_rivet.lua
index b291749..9aa3462 100644
--- a/plugins/language_rivet.lua
+++ b/plugins/language_rivet.lua
@@ -68,6 +68,7 @@ syntax.add {
["mut"] = "keyword",
["unsafe"] = "keyword",
["goto"] = "keyword",
+ ["go"] = "keyword",
["try"] = "keyword",
["orelse"] = "keyword",
["catch"] = "keyword",
@@ -78,6 +79,7 @@ syntax.add {
["and"] = "keyword",
-- types
+ ["ptr"] = "keyword2",
["bool"] = "keyword2",
["i8"] = "keyword2",
["i16"] = "keyword2",
@@ -93,7 +95,6 @@ syntax.add {
["isize"] = "keyword2",
["usize"] = "keyword2",
["str"] = "keyword2",
- ["rawptr"] = "keyword2",
["Self"] = "keyword2",
-- literals