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.scm | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/runtime/queries/fsharp/locals.scm b/runtime/queries/fsharp/locals.scm index b9b0cf1e..db2291f2 100644 --- a/runtime/queries/fsharp/locals.scm +++ b/runtime/queries/fsharp/locals.scm @@ -6,16 +6,27 @@ (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.function) + ((_) @local.definition) ((argument_patterns [ - (_ (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)))))) + (_ (identifier) @local.definition) + (_ (_ (identifier) @local.definition)) + (_ (_ (_ (identifier) @local.definition))) + (_ (_ (_ (_ (identifier) @local.definition)))) + (_ (_ (_ (_ (_ (identifier) @local.definition))))) + (_ (_ (_ (_ (_ (_ (identifier) @local.definition)))))) ]) )) |