diff options
author | Jose Mendoza <56417208+StunxFS@users.noreply.github.com> | 2023-11-08 14:48:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 19:48:10 +0100 |
commit | fe3130df42c8daa6b1e03317d7bc84df14fff314 (patch) | |
tree | 4e308ca579a060b75399cbf6fd73215a572ed477 | |
parent | 2b675f545867bc7d3a760017d82cd7750f2035e1 (diff) | |
download | lite-xl-plugins-fe3130df42c8daa6b1e03317d7bc84df14fff314.tar.gz lite-xl-plugins-fe3130df42c8daa6b1e03317d7bc84df14fff314.zip |
fix(language_rivet): fix attribute highlighting (#333)
* Update manifest.json
* update manifest.json
* update language_rivet.lua
* fix manifest.json
* update manifest.json
* fix manifest.json
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | plugins/language_rivet.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json index 7e8ed5b..5418f88 100644 --- a/manifest.json +++ b/manifest.json @@ -1092,7 +1092,7 @@ }, { "description": "Syntax for the [Rivet](https://github.com/rivet-lang/rivet) programming language", - "version": "0.4.1", + "version": "0.4.2", "path": "plugins/language_rivet.lua", "id": "language_rivet", "mod_version": "3", diff --git a/plugins/language_rivet.lua b/plugins/language_rivet.lua index 028b033..b8d227c 100644 --- a/plugins/language_rivet.lua +++ b/plugins/language_rivet.lua @@ -32,7 +32,7 @@ syntax.add { {pattern = "%@%s?[%a_][%w_]*", type = "literal"}, -- builtin func/var {pattern = "[%a_][%w_]*%f[(]", type = "function"}, {pattern = "#%s?[%a_][%w_]*", type = "comment"}, -- if/else_if/else/endif - {pattern = "#%s?.*", type = "comment"}, -- attributes + {pattern = "#%s?.*", type = "keyword2"}, -- attributes {pattern = "[%a_][%w_]*", type = "symbol"} }, symbols = { |