mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
fix(ruby): improve highlights for pattern matching and for...in loops
This commit is contained in:
@@ -48,6 +48,9 @@
|
||||
"then"
|
||||
] @keyword.conditional
|
||||
|
||||
(in_clause
|
||||
"in" @keyword.conditional)
|
||||
|
||||
(if
|
||||
"end" @keyword.conditional)
|
||||
|
||||
@@ -61,6 +64,9 @@
|
||||
"next"
|
||||
] @keyword.repeat
|
||||
|
||||
(in
|
||||
"in" @keyword.repeat)
|
||||
|
||||
(constant) @constant
|
||||
|
||||
((identifier) @keyword.modifier
|
||||
@@ -291,6 +297,9 @@
|
||||
(pair
|
||||
":" @punctuation.delimiter)
|
||||
|
||||
(keyword_pattern
|
||||
":" @punctuation.delimiter)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
|
||||
Reference in New Issue
Block a user