aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rivet.lua
diff options
context:
space:
mode:
authorJose Mendoza <56417208+StunxFS@users.noreply.github.com>2023-12-02 17:24:54 -0400
committerGitHub <noreply@github.com>2023-12-02 22:24:54 +0100
commita7c49a72f50ce2de5ec67eceef7f643b5a5d54d5 (patch)
tree7a24acc8890d2e2bc1cf5bde7cb706105eaa9148 /plugins/language_rivet.lua
parent42c32727aa33f6cf50a33d5f65e30e4f91c8acb7 (diff)
downloadlite-xl-plugins-a7c49a72f50ce2de5ec67eceef7f643b5a5d54d5.tar.gz
lite-xl-plugins-a7c49a72f50ce2de5ec67eceef7f643b5a5d54d5.zip
update `language_rivet` (#344)
* Update manifest.json * Update language_rivet.lua * Update manifest.json
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",