Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/koka/locals.scm')
-rw-r--r--runtime/queries/koka/locals.scm19
1 files changed, 7 insertions, 12 deletions
diff --git a/runtime/queries/koka/locals.scm b/runtime/queries/koka/locals.scm
index f8a83e0c..e654f70c 100644
--- a/runtime/queries/koka/locals.scm
+++ b/runtime/queries/koka/locals.scm
@@ -2,29 +2,24 @@
(block) @local.scope
-(pattern
- (identifier
- (varid) @local.definition))
-
-(decl
- (apattern
- (pattern
- (identifier
- (varid) @local.definition))))
+(pparameter
+ (pattern
+ (identifier
+ (varid) @local.definition.variable.parameter)))
(puredecl
(funid
(identifier
- (varid) @local.definition)))
+ (varid) @local.definition.function)))
(puredecl
(binder
(identifier
- (varid) @local.definition)))
+ (varid) @local.definition.function)))
(decl
(binder
(identifier
- (varid) @local.definition)))
+ (varid) @local.definition.function)))
(identifier (varid) @local.reference)