diff options
author | Jose Mendoza <56417208+StunxFS@users.noreply.github.com> | 2023-10-23 17:50:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 17:50:18 -0400 |
commit | 81b69677b836d817cb67d48a55b7d63d0ce9e37b (patch) | |
tree | 0f782f5f55ce14e87639af053cb0c84bc1f21d75 | |
parent | 6f03148f8f13c2c732e2eb1027e173b7e1e5a94c (diff) | |
download | lite-xl-plugins-81b69677b836d817cb67d48a55b7d63d0ce9e37b.tar.gz lite-xl-plugins-81b69677b836d817cb67d48a55b7d63d0ce9e37b.zip |
update `language_rivet.lua` (#323)
* Update language_rivet.lua
* Update manifest.json
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | plugins/language_rivet.lua | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json index 277665b..cf45122 100644 --- a/manifest.json +++ b/manifest.json @@ -1080,7 +1080,7 @@ }, { "description": "Syntax for the [Rivet](https://github.com/rivet-lang/rivet) programming language", - "version": "0.2", + "version": "0.3", "path": "plugins/language_rivet.lua", "id": "language_rivet", "mod_version": "3", diff --git a/plugins/language_rivet.lua b/plugins/language_rivet.lua index cccccf0..b389292 100644 --- a/plugins/language_rivet.lua +++ b/plugins/language_rivet.lua @@ -63,15 +63,16 @@ syntax.add { ["or"] = "keyword", ["public"] = "keyword", ["return"] = "keyword", + ["static"] = "keyword", ["self"] = "literal", ["struct"] = "keyword", ["switch"] = "keyword", ["test"] = "keyword", + ["throw"] = "keyword", ["trait"] = "keyword", ["true"] = "literal", - ["undefined"] = "keyword", + ["undefined"] = "literal", ["unsafe"] = "keyword", - ["var"] = "keyword", ["while"] = "keyword", -- types |