Add comment ending ifndef block to ifndef c snippet

This commit is contained in:
Nate Mara 2015-11-04 16:35:52 +01:00
parent 1058eea45c
commit 1c08287613
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -25,7 +25,7 @@ snippet Inc
snippet ndef
#ifndef $1
#define ${1:SYMBOL} ${2:value}
#endif
#endif /* ifndef $1 */
# define
snippet def
#define