From 06b2e3a1880a90978516024fcde40cc59870b87d Mon Sep 17 00:00:00 2001 From: Aaron Broder Date: Tue, 28 Aug 2012 10:34:24 -0700 Subject: [PATCH] [c] Added 'elif' snippet. --- snippets/c.snippets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snippets/c.snippets b/snippets/c.snippets index 38e8d9e..e17d064 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -50,6 +50,10 @@ snippet el else { ${1} } +snippet elif + else if (${1:/* condition */}) { + ${2:/* code */} + } # Ternary conditional snippet t ${1:/* condition */} ? ${2:a} : ${3:b}