mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -39,7 +39,7 @@ snippet case
|
||||
end
|
||||
snippet when
|
||||
when ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
snippet def
|
||||
def ${1:method_name}
|
||||
${0}
|
||||
@ -56,17 +56,17 @@ snippet descendants
|
||||
end
|
||||
snippet if
|
||||
if ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet ife
|
||||
if ${1:condition}
|
||||
${2}
|
||||
${2:${VISUAL}}
|
||||
else
|
||||
${0}
|
||||
end
|
||||
snippet eif
|
||||
elsif ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
snippet ifee
|
||||
if ${1:condition}
|
||||
$2
|
||||
@ -77,7 +77,7 @@ snippet ifee
|
||||
end
|
||||
snippet unless
|
||||
unless ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet unlesse
|
||||
unless ${1:condition}
|
||||
@ -95,7 +95,7 @@ snippet unlesee
|
||||
end
|
||||
snippet wh
|
||||
while ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet for
|
||||
for ${1:e} in ${2:c}
|
||||
@ -103,7 +103,7 @@ snippet for
|
||||
end
|
||||
snippet until
|
||||
until ${1:condition}
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
end
|
||||
snippet cla class .. end
|
||||
class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`}
|
||||
|
Reference in New Issue
Block a user