diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index 3ee3fa4..56f34e5 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -11,7 +11,7 @@ endsnippet snippet ifndef "#ifndef ... #define ... #endif" #ifndef ${1/([A-Za-z0-9_]+).*/$1/} #define ${1:SYMBOL} ${2:value} -#endif +#endif /* ifndef $1 */ endsnippet snippet #if "#if #endif" b diff --git a/snippets/c.snippets b/snippets/c.snippets index 6a1cbaa..f4745c2 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -25,7 +25,7 @@ snippet Inc snippet ndef #ifndef $1 #define ${1:SYMBOL} ${2:value} - #endif + #endif /* ifndef $1 */ # define snippet def #define