mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -04:00
fix(fennel): highlight $ in multi-symbol context properly
Highlights the dollar symbol properly in multi-symbol contexts like `$.some.properties`
This commit is contained in:
parent
42ea539243
commit
21da8ac251
1 changed files with 3 additions and 0 deletions
|
|
@ -104,6 +104,9 @@
|
||||||
((symbol) @variable.parameter
|
((symbol) @variable.parameter
|
||||||
(#any-of? @variable.parameter "$" "$..."))
|
(#any-of? @variable.parameter "$" "$..."))
|
||||||
|
|
||||||
|
((symbol_fragment) @variable.parameter
|
||||||
|
(#eq? @variable.parameter "$"))
|
||||||
|
|
||||||
((symbol) @variable.parameter
|
((symbol) @variable.parameter
|
||||||
(#lua-match? @variable.parameter "^%$[1-9]$"))
|
(#lua-match? @variable.parameter "^%$[1-9]$"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue