aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rivet.lua
diff options
context:
space:
mode:
authorStunxFS <56417208+StunxFS@users.noreply.github.com>2022-05-01 12:36:22 -0400
committerGitHub <noreply@github.com>2022-05-01 12:36:22 -0400
commit806e5302f7b839c18a3d24658a20ab84ea9608a3 (patch)
tree45698809322c9bf4e07612273c0597c1827e9aee /plugins/language_rivet.lua
parent844f8abc445a46aba3c4988518d4ea309417cb46 (diff)
downloadlite-xl-plugins-806e5302f7b839c18a3d24658a20ab84ea9608a3.tar.gz
lite-xl-plugins-806e5302f7b839c18a3d24658a20ab84ea9608a3.zip
Update language_rivet.lua
Diffstat (limited to 'plugins/language_rivet.lua')
-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