mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 20:03:29 +04:00
8c29b76bcc
* Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
15 lines
202 B
Scheme
15 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
|