Skip to content

Commit 3f7846b

Browse files
committed
Support mysql filetype
1 parent f0a3184 commit 3f7846b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: UltiSnips/jq.snippets

+23
Original file line numberDiff line numberDiff line change
@@ -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+
endsnippet
9+
snippet elif "elif / then"
10+
elif $1 then $2
11+
endsnippet
12+
snippet elife "elif / then / else"
13+
elif $1 then $2 else $3
14+
endsnippet
15+
snippet try "try / catch"
16+
try $1 catch $2
17+
endsnippet
18+
snippet red "reduce / as"
19+
reduce $1 as ${2:item} ($3; $4)
20+
endsnippet
21+
snippet fore "foreach / as"
22+
foreach $1 as ${2:item} ($3; $4; $5)
23+
endsnippet

0 commit comments

Comments
 (0)