Add local highlighting maybe

This commit is contained in:
Ella Dunbar 2025-10-18 16:58:19 -05:00
parent ba71fbc84b
commit ce993c911c
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"))