From fe3130df42c8daa6b1e03317d7bc84df14fff314 Mon Sep 17 00:00:00 2001 From: Jose Mendoza <56417208+StunxFS@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:48:10 -0400 Subject: 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 --- manifest.json | 2 +- 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 = { -- cgit v1.2.3