Fix indentation
This commit is contained in:
parent
2c86dc71f0
commit
cbbb5b1720
@ -1,36 +1,36 @@
|
|||||||
snippet fun
|
snippet fun
|
||||||
function ${1:functionname}(${2:parameters})
|
function ${1:functionname}(${2:parameters})
|
||||||
${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
|
||||||
|
Loading…
Reference in New Issue
Block a user