Add local highlighting maybe

This commit is contained in:
Evan Dunbar 2024-09-26 09:46:16 -05:00
parent eec8ac1dab
commit 159a378d3e
5 changed files with 44 additions and 19 deletions

5
queries/locals.scm Normal file
View file

@ -0,0 +1,5 @@
(define find: (match) @local.definition.macro)
(((identifier) @local.reference)
(#set! reference.scope "global"))
(action name: ((identifier) @local.function)
(#set! function.scope "global"))