From aff4e7841b1949c219f7747c09d38b3502cd20a7 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 6 Mar 2016 16:01:51 +0000 Subject: [PATCH] Go ife --- snippets/go.snippets | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snippets/go.snippets b/snippets/go.snippets index a3f4b49..b3acac1 100644 --- a/snippets/go.snippets +++ b/snippets/go.snippets @@ -74,6 +74,12 @@ snippet if if ${1:/* condition */} { ${2} } +snippet ife + if ${1:/* condition */} { + ${2} + } else { + ${0} + } # else snippet snippet el else {