mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00: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:
committed by
Christian Clason
parent
42ea539243
commit
21da8ac251
@@ -104,6 +104,9 @@
|
||||
((symbol) @variable.parameter
|
||||
(#any-of? @variable.parameter "$" "$..."))
|
||||
|
||||
((symbol_fragment) @variable.parameter
|
||||
(#eq? @variable.parameter "$"))
|
||||
|
||||
((symbol) @variable.parameter
|
||||
(#lua-match? @variable.parameter "^%$[1-9]$"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user