From a1d8992489328bb4d07bef059722c96f705b8687 Mon Sep 17 00:00:00 2001 From: kenshin54 Date: Sat, 6 Jul 2013 22:17:27 +0800 Subject: [PATCH] Add inline if snippet to c. --- snippets/c.snippets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snippets/c.snippets b/snippets/c.snippets index 21c265d..16a86e9 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -65,6 +65,9 @@ snippet elif else if (${1:/* condition */}) { ${2} }${3} +# ifi +snippet ifi + if (${1:/* condition */}) ${2};${3} # ternary snippet t ${1:/* condition */} ? ${2:a} : ${3:b}