aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_rivet.lua2
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 = {