Improvements to C snippets by Vivien Didelot
This commit is contained in:
parent
890e1b6bd5
commit
39f9d77fe3
@ -1,7 +1,12 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
# TextMate Snippets #
|
# TextMate Snippets #
|
||||||
###########################################################################
|
###########################################################################
|
||||||
snippet def "#ifndef ... #define ... #endif"
|
|
||||||
|
snippet def "#define ..."
|
||||||
|
#define ${1}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
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
|
||||||
|
@ -1290,6 +1290,7 @@ Contributors listed in chronological order:
|
|||||||
Martin Krauskopf (martin-krauskopf)
|
Martin Krauskopf (martin-krauskopf)
|
||||||
Theocrite (theocrite)
|
Theocrite (theocrite)
|
||||||
Ferdinand Majerech (kiith-sa)
|
Ferdinand Majerech (kiith-sa)
|
||||||
|
Vivien Didelot
|
||||||
|
|
||||||
Thank you for your support.
|
Thank you for your support.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user