aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-05-01 18:40:07 +0200
committerGitHub <noreply@github.com>2022-05-01 18:40:07 +0200
commit7bee960296403e20f631d14764fc583986b163e1 (patch)
tree45698809322c9bf4e07612273c0597c1827e9aee
parent844f8abc445a46aba3c4988518d4ea309417cb46 (diff)
parent806e5302f7b839c18a3d24658a20ab84ea9608a3 (diff)
downloadlite-xl-plugins-7bee960296403e20f631d14764fc583986b163e1.tar.gz
lite-xl-plugins-7bee960296403e20f631d14764fc583986b163e1.zip
Merge pull request #84 from StunxFS/rivet
update `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