Fix indentation

This commit is contained in:
Felix Jung 2014-06-11 20:48:03 +02:00
parent cbbb5b1720
commit 335637c3b6

View File

@ -1,36 +1,37 @@
# Standard function definition
snippet fun snippet fun
function ${1:functionname}(${2:parameters}) function ${1}(${2})
${0} ${0}
end end
# For loop iterating over iterable container # For loop iterating over iterable container
snippet forin snippet forin
for ${1} in ${2} for ${1} in ${2}
${0} ${0}
end end
# Standard for loop # Standard for loop
snippet for snippet for
for ${1} = ${2} for ${1} = ${2}
${0} ${0}
end end
# Nested for loop # Nested for loop
snippet fornest snippet fornest
for ${1} = ${2}, ${3} = ${4} for ${1} = ${2}, ${3} = ${4}
${0} ${0}
end end
# While loop # While loop
snippet while snippet while
while ${1} ${2:<=} ${3} while ${1} ${2:<=} ${3}
${0} ${0}
end end
# Try catch # Try catch
snippet try snippet try
try try
${1} ${1}
catch ${2} catch ${2}
${0} ${0}
end end