diff options
| author | joker1007 <kakyoin.hierophant@gmail.com> | 2025-01-04 22:28:44 +0900 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-01-04 16:13:26 +0100 |
| commit | 57713d079c3c2afcc31f3e0650bf8594a2a296ba (patch) | |
| tree | 07c384408aaca5960a5b47d4cb3cc29470dfeb44 /queries/rbs | |
| parent | bot(lockfile): update julia, koto, v (diff) | |
| download | nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar.gz nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar.bz2 nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar.lz nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar.xz nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.tar.zst nvim-treesitter-57713d079c3c2afcc31f3e0650bf8594a2a296ba.zip | |
fix(rbs): fix highlight queries of rbs that is missing some definitions
Diffstat (limited to 'queries/rbs')
| -rw-r--r-- | queries/rbs/highlights.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/queries/rbs/highlights.scm b/queries/rbs/highlights.scm index 1000e3bed..9de9c427d 100644 --- a/queries/rbs/highlights.scm +++ b/queries/rbs/highlights.scm @@ -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 [ "=" |
