diff options
author | Joey Hain | 2023-11-06 01:54:25 +0000 |
---|---|---|
committer | GitHub | 2023-11-06 01:54:25 +0000 |
commit | f73e9a8d15fd5a87d472a49808baf42ba403f9bf (patch) | |
tree | c57d8b378ef5877a5f2894b2dc6845b28bffdbbf /runtime/queries/kotlin/locals.scm | |
parent | a98ad137f9b0678ce9770aaa56a8bf8ca7c51d17 (diff) |
highlights: add type.parameter scope to several more languages (#8718)
* typescript
* go
* haskell
* ocaml
* kotlin (+ bugfix)
Diffstat (limited to 'runtime/queries/kotlin/locals.scm')
-rw-r--r-- | runtime/queries/kotlin/locals.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/kotlin/locals.scm b/runtime/queries/kotlin/locals.scm new file mode 100644 index 00000000..752ed995 --- /dev/null +++ b/runtime/queries/kotlin/locals.scm @@ -0,0 +1,15 @@ +; Scopes + +[ + (class_declaration) + (function_declaration) +] @local.scope + +; Definitions + +(type_parameter + (type_identifier) @local.definition) + +; References + +(type_identifier) @local.reference |