fix(rbs): fix highlight queries of rbs that is missing some definitions

This commit is contained in:
joker1007 2025-01-04 22:28:44 +09:00 committed by Christian Clason
parent fae21737be
commit 57713d079c

View file

@ -54,9 +54,24 @@
(method_name
[
(identifier)
(identifier_suffix)
(constant)
(constant_suffix)
(operator)
(setter)
(constant_setter)
] @function.method))
(attribute_member
(method_name
[
(identifier)
(identifier_suffix)
(constant)
(constant_suffix)
(operator)
(setter)
(constant_setter)
] @function.method))
[
@ -115,6 +130,10 @@
(type
(integer_literal) @number)
(type
(record_type
key: (record_key) @string.special.symbol))
; Operators
[
"="