8c29b76bcc
* Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
14 lines
202 B
Scheme
14 lines
202 B
Scheme
; Scopes
|
|
|
|
(function_body) @local.scope
|
|
|
|
; Definitions
|
|
|
|
(argument
|
|
(value (var (local_var) @local.definition)))
|
|
|
|
(instruction
|
|
(local_var) @local.definition)
|
|
|
|
; References
|
|
(local_var) @local.reference
|