We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e219b commit d9e39f8Copy full SHA for d9e39f8
queries/shellscript.scm
@@ -25,9 +25,7 @@
25
;; Conditionals
26
;;
27
28
-(if_statement) @ifStatement @branch.iteration
29
-
30
-;; Conditional
+(if_statement) @ifStatement @branch.iteration @condition.iteration
31
32
;;!! if [ $value -le 0 ]; then
33
;;!! fi
@@ -141,6 +139,13 @@
141
139
condition: (_) @condition
142
140
)
143
+(case_statement) @branch.iteration @condition.iteration
+(case_item
144
+ value: (_) @condition @branch.interior.start.startOf
145
+ ;; FIXME: See how to escape this..
146
+ ";;" @branch.interior.end.endOf
147
+) @branch @_.domain
148
+
149
;; Lists and maps
150
151
0 commit comments