mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -7,30 +7,30 @@
|
||||
#if
|
||||
snippet if
|
||||
if (${1})
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
#if not
|
||||
snippet ifn
|
||||
if (!${1})
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
#if-else
|
||||
snippet ife
|
||||
if (${1})
|
||||
${2}
|
||||
${2:${VISUAL}}
|
||||
else
|
||||
${0}
|
||||
#if-else-if
|
||||
snippet ifelif
|
||||
if (${1})
|
||||
${2}
|
||||
${2:${VISUAL}}
|
||||
else if (${3})
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
snippet eif
|
||||
else if (${3})
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
#while loop
|
||||
snippet wh
|
||||
while (${1:obj}) {
|
||||
${0}
|
||||
${0:${VISUAL}}
|
||||
}
|
||||
#for loop(classic)
|
||||
snippet for
|
||||
@ -50,7 +50,7 @@ snippet fory
|
||||
#exceptions
|
||||
snippet try
|
||||
try {
|
||||
${1}
|
||||
${1:${VISUAL}}
|
||||
} catch {
|
||||
case e: FileNotFoundException => ${2}
|
||||
case e: IOException => ${3}
|
||||
|
Reference in New Issue
Block a user