From 979b9cd49de901afb06bab561614e401166a25fb Mon Sep 17 00:00:00 2001 From: Florian Sattler Date: Tue, 15 Mar 2016 10:38:49 +0100 Subject: [PATCH] Changed ifndef snippet to #ifndef This makes it consistent with the other C macro snippets --- UltiSnips/c.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index 56f34e5..c989464 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -8,7 +8,7 @@ snippet def "#define ..." #define ${1} endsnippet -snippet ifndef "#ifndef ... #define ... #endif" +snippet #ifndef "#ifndef ... #define ... #endif" #ifndef ${1/([A-Za-z0-9_]+).*/$1/} #define ${1:SYMBOL} ${2:value} #endif /* ifndef $1 */