mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(rbs): fix highlight queries of rbs that is missing some definitions
This commit is contained in:
parent
fae21737be
commit
57713d079c
1 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
[
|
||||
"="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue