Merge pull request #700 from vulder/master

Changed ifndef snippet to #ifndef
This commit is contained in:
Louis Pilfold 2016-03-15 09:47:48 +00:00
commit b66ede5e0f

View File

@ -8,7 +8,7 @@ snippet def "#define ..."
#define ${1} #define ${1}
endsnippet endsnippet
snippet ifndef "#ifndef ... #define ... #endif" snippet #ifndef "#ifndef ... #define ... #endif"
#ifndef ${1/([A-Za-z0-9_]+).*/$1/} #ifndef ${1/([A-Za-z0-9_]+).*/$1/}
#define ${1:SYMBOL} ${2:value} #define ${1:SYMBOL} ${2:value}
#endif /* ifndef $1 */ #endif /* ifndef $1 */