Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/fsharp/locals.scm')
-rw-r--r--runtime/queries/fsharp/locals.scm25
1 files changed, 7 insertions, 18 deletions
diff --git a/runtime/queries/fsharp/locals.scm b/runtime/queries/fsharp/locals.scm
index db2291f2..b9b0cf1e 100644
--- a/runtime/queries/fsharp/locals.scm
+++ b/runtime/queries/fsharp/locals.scm
@@ -6,27 +6,16 @@
(function_or_value_defn)
] @local.scope
-(value_declaration_left
- .
- [
- (_ (identifier) @local.definition)
- (_ (_ (identifier) @local.definition))
- (_ (_ (_ (identifier) @local.definition)))
- (_ (_ (_ (_ (identifier) @local.definition))))
- (_ (_ (_ (_ (_ (identifier) @local.definition)))))
- (_ (_ (_ (_ (_ (_ (identifier) @local.definition))))))
- ])
-
(function_declaration_left
.
- ((_) @local.definition)
+ ((_) @local.definition.function)
((argument_patterns
[
- (_ (identifier) @local.definition)
- (_ (_ (identifier) @local.definition))
- (_ (_ (_ (identifier) @local.definition)))
- (_ (_ (_ (_ (identifier) @local.definition))))
- (_ (_ (_ (_ (_ (identifier) @local.definition)))))
- (_ (_ (_ (_ (_ (_ (identifier) @local.definition))))))
+ (_ (identifier) @local.definition.variable.parameter)
+ (_ (_ (identifier) @local.definition.variable.parameter))
+ (_ (_ (_ (identifier) @local.definition.variable.parameter)))
+ (_ (_ (_ (_ (identifier) @local.definition.variable.parameter))))
+ (_ (_ (_ (_ (_ (identifier) @local.definition.variable.parameter)))))
+ (_ (_ (_ (_ (_ (_ (identifier) @local.definition.variable.parameter))))))
])
))