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}