File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -47,24 +47,24 @@ endsnippet
47
47
snippet case " case .. esac (case)"
48
48
case ${1: word } in
49
49
${2: pattern } )
50
- $0 ;;
50
+ ${0 : ${VISUAL} } ;;
51
51
esac
52
52
endsnippet
53
53
54
54
snippet elif " elif .. (elif)"
55
55
elif ${2: [[ ${1: condition } ]] } ; then
56
- ${0: #statements }
56
+ ${0: ${VISUAL} }
57
57
endsnippet
58
58
59
59
snippet for " for ... done (for)"
60
60
for (( i = 0; i < ${1: 10 } ; i++ )); do
61
- ${0: #statements }
61
+ ${0: ${VISUAL} }
62
62
done
63
63
endsnippet
64
64
65
65
snippet forin " for ... in ... done (forin)"
66
66
for ${1: i } ${2 / . + / in / }${2: words } ; do
67
- ${0: #statements }
67
+ ${0: ${VISUAL} }
68
68
done
69
69
endsnippet
70
70
@@ -76,19 +76,19 @@ endsnippet
76
76
77
77
snippet if " if ... then (if)"
78
78
if ${2: [[ ${1: condition } ]] } ; then
79
- ${0: #statements }
79
+ ${0: ${VISUAL} }
80
80
fi
81
81
endsnippet
82
82
83
83
snippet until " until ... (done)"
84
84
until ${2: [[ ${1: condition } ]] } ; do
85
- ${0: #statements }
85
+ ${0: ${VISUAL} }
86
86
done
87
87
endsnippet
88
88
89
89
snippet while " while ... (done)"
90
90
while ${2: [[ ${1: condition } ]] } ; do
91
- ${0: #statements }
91
+ ${0: ${VISUAL} }
92
92
done
93
93
endsnippet
94
94
You can’t perform that action at this time.
0 commit comments