yasnippet-snippets/cmake-mode/ifelse
Magnus Therning 6b200c3a39 Some improvements to the cmake snippets.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-01-12 15:44:55 +01:00

9 lines
No EOL
117 B
Text

# -*- mode: snippet -*-
# name: ifelse
# key: if
# --
if(${1:cond})
$2
else(${3:cond})
$0
endif($1)$0