We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0a3184 commit 68f64f0Copy full SHA for 68f64f0
snippets/jq.snippets
@@ -0,0 +1,14 @@
1
+snippet if "if / then"
2
+ if $1 then $2 end
3
+snippet ife "if / then / else"
4
+ if $1 then $2 else $3 end
5
+snippet elif "elif / then"
6
+ elif $1 then $2
7
+snippet elife "elif / then / else"
8
+ elif $1 then $2 else $3
9
+snippet try "try / catch"
10
+ try $1 catch $2
11
+snippet red "reduce / as"
12
+ reduce $1 as ${2:item} ($3; $4)
13
+snippet fore "foreach / as"
14
+ foreach $1 as ${2:item} ($3; $4; $5)
0 commit comments