The -fix operators in symbol_scope_test will exhibit reference highlighting from the parameters in standalone_symbol_ref, even though they're out of scope. Strangely, adding an operator definition between the two operators fixes the problem; at least the issue is limited in scope. Uncertain whether this is a bug with the grammar or with how tree-sitter does highlighting.
This will be highlighted incorrectly with tree-sitter's highlighting implementation, although not nvim-treesitter's.
The -fix operators in
symbol_scope_test
will exhibit reference highlighting from the parameters instandalone_symbol_ref
, even though they're out of scope. Strangely, adding an operator definition between the two operators fixes the problem; at least the issue is limited in scope. Uncertain whether this is a bug with the grammar or with how tree-sitter does highlighting.