1
0
mirror of https://github.com/gryf/snipmate.vim.git synced 2025-12-19 20:38:05 +01:00

removed unnecessary semi-colons in js snippet if/if-else

This commit is contained in:
Stuart Colville
2009-11-25 23:10:37 +08:00
committed by Michael Sanders
parent 6ffe172dc6
commit 1e17e07802

View File

@@ -14,11 +14,11 @@ snippet f
function(${1}) {${2}}; function(${1}) {${2}};
# if # if
snippet if snippet if
if (${1:true}) {${2}}; if (${1:true}) {${2}}
# if ... else # if ... else
snippet ife snippet ife
if (${1:true}) {${2}} if (${1:true}) {${2}}
else{${3}}; else{${3}}
# tertiary conditional # tertiary conditional
snippet t snippet t
${1:/* condition */} ? ${2:a} : ${3:b} ${1:/* condition */} ? ${2:a} : ${3:b}