Skip to content

Commit

Permalink
fix(language_rivet): fix attribute highlighting (#333)
Browse files Browse the repository at this point in the history
* Update manifest.json

* update manifest.json

* update language_rivet.lua

* fix manifest.json

* update manifest.json

* fix manifest.json
  • Loading branch information
StunxFS authored Nov 8, 2023
1 parent 2b675f5 commit fe3130d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugins/language_rivet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit fe3130d

Please sign in to comment.