mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat(luap): Make class captures similar to regex captures
This commit is contained in:
parent
886b496763
commit
2b4881286a
1 changed files with 5 additions and 1 deletions
|
|
@ -32,7 +32,11 @@
|
||||||
(negated_set
|
(negated_set
|
||||||
(character) @constant)
|
(character) @constant)
|
||||||
|
|
||||||
(class) @keyword
|
(class) @string.escape
|
||||||
|
|
||||||
|
(class
|
||||||
|
"%" @string.regexp
|
||||||
|
(escape_char) @string.regexp)
|
||||||
|
|
||||||
(negated_set
|
(negated_set
|
||||||
"^" @operator)
|
"^" @operator)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue