aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/slint/locals.scm
diff options
context:
space:
mode:
authorTobias Hunger2024-02-07 18:36:29 +0000
committerGitHub2024-02-07 18:36:29 +0000
commita1272bdb17a63361342a318982e46129d558743c (patch)
tree9ffc411114f1f7a38b14f75431730480c7ee238e /runtime/queries/slint/locals.scm
parentbbcc89241fd63b460ea7b1661a550f5b9eacba4c (diff)
slint: Update treesitter parser and queries (#9551)
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
Diffstat (limited to 'runtime/queries/slint/locals.scm')
-rw-r--r--runtime/queries/slint/locals.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/queries/slint/locals.scm b/runtime/queries/slint/locals.scm
index a115f0c6..06601b05 100644
--- a/runtime/queries/slint/locals.scm
+++ b/runtime/queries/slint/locals.scm
@@ -1,3 +1,6 @@
-; locals.scm
-
-(component_item) @local.scope
+[
+ (component)
+ (component_definition)
+ (function_definition)
+ (imperative_block)
+] @local.scope