diff --git a/manifest.json b/manifest.json index 7e8ed5b7..5418f883 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 028b033b..b8d227c9 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 = {