Add comment ending ifndef block to ifndef c snippet
This commit is contained in:
parent
1058eea45c
commit
1c08287613
@ -11,7 +11,7 @@ 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
|
#endif /* ifndef $1 */
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet #if "#if #endif" b
|
snippet #if "#if #endif" b
|
||||||
|
@ -25,7 +25,7 @@ snippet Inc
|
|||||||
snippet ndef
|
snippet ndef
|
||||||
#ifndef $1
|
#ifndef $1
|
||||||
#define ${1:SYMBOL} ${2:value}
|
#define ${1:SYMBOL} ${2:value}
|
||||||
#endif
|
#endif /* ifndef $1 */
|
||||||
# define
|
# define
|
||||||
snippet def
|
snippet def
|
||||||
#define
|
#define
|
||||||
|
Loading…
Reference in New Issue
Block a user