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