From f41ab9d4448fb14015324552433989fb8470b41a Mon Sep 17 00:00:00 2001 From: Chad Paradis Date: Wed, 22 Apr 2015 20:45:45 -0400 Subject: [PATCH] Changed style for c snippets Moved braces to same line for main and fun snippets. --- UltiSnips/c.snippets | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index c621a36..8a0cba2 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -38,8 +38,7 @@ $0 endsnippet snippet main "main() (main)" -int main(int argc, char *argv[]) -{ +int main(int argc, char *argv[]) { ${VISUAL}${0} return 0; } @@ -134,8 +133,7 @@ struct ${1:`!p snip.rv = (snip.basename or "name") + "_t"`} { endsnippet snippet fun "function" b -${1:void} ${2:function_name}(${3}) -{ +${1:void} ${2:function_name}(${3}) { ${VISUAL}${0} } endsnippet