mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Forgot to check in the rest of the updated plugins :/
This commit is contained in:
@ -34,11 +34,11 @@ snippet #
|
||||
# =>
|
||||
snippet case
|
||||
case ${1:object}
|
||||
when ${2:condition}
|
||||
when $2
|
||||
${0}
|
||||
end
|
||||
snippet when
|
||||
when ${1:condition}
|
||||
when $1
|
||||
${0:${VISUAL}}
|
||||
snippet def
|
||||
def ${1:method_name}
|
||||
@ -55,46 +55,46 @@ snippet descendants
|
||||
end
|
||||
end
|
||||
snippet if
|
||||
if ${1:condition}
|
||||
if $1
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet ife
|
||||
if ${1:condition}
|
||||
if $1
|
||||
${2:${VISUAL}}
|
||||
else
|
||||
${0}
|
||||
end
|
||||
snippet eif
|
||||
elsif ${1:condition}
|
||||
elsif $1
|
||||
${0:${VISUAL}}
|
||||
snippet ifee
|
||||
if ${1:condition}
|
||||
if $1
|
||||
$2
|
||||
elsif ${3:condition}
|
||||
elsif $3
|
||||
$4
|
||||
else
|
||||
$0
|
||||
end
|
||||
snippet unless
|
||||
unless ${1:condition}
|
||||
unless $1
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet unlesse
|
||||
unless ${1:condition}
|
||||
unless $1
|
||||
$2
|
||||
else
|
||||
$0
|
||||
end
|
||||
snippet unlesee
|
||||
unless ${1:condition}
|
||||
unless $1
|
||||
$2
|
||||
elsif ${3:condition}
|
||||
elsif $3
|
||||
$4
|
||||
else
|
||||
$0
|
||||
end
|
||||
snippet wh
|
||||
while ${1:condition}
|
||||
while $1
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet for
|
||||
@ -102,7 +102,7 @@ snippet for
|
||||
${0}
|
||||
end
|
||||
snippet until
|
||||
until ${1:condition}
|
||||
until $1
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet cla class .. end
|
||||
|
Reference in New Issue
Block a user