diff options
author | Jose Mendoza <56417208+StunxFS@users.noreply.github.com> | 2023-12-02 17:24:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 22:24:54 +0100 |
commit | a7c49a72f50ce2de5ec67eceef7f643b5a5d54d5 (patch) | |
tree | 7a24acc8890d2e2bc1cf5bde7cb706105eaa9148 | |
parent | 42c32727aa33f6cf50a33d5f65e30e4f91c8acb7 (diff) | |
download | lite-xl-plugins-a7c49a72f50ce2de5ec67eceef7f643b5a5d54d5.tar.gz lite-xl-plugins-a7c49a72f50ce2de5ec67eceef7f643b5a5d54d5.zip |
update `language_rivet` (#344)
* Update manifest.json
* Update language_rivet.lua
* Update manifest.json
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | plugins/language_rivet.lua | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/manifest.json b/manifest.json index 5601665..0b11533 100644 --- a/manifest.json +++ b/manifest.json @@ -1099,7 +1099,7 @@ }, { "description": "Syntax for the [Rivet](https://github.com/rivet-lang/rivet) programming language", - "version": "0.4.3", + "version": "0.4.4", "path": "plugins/language_rivet.lua", "id": "language_rivet", "mod_version": "3", 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", |