Improvements to C snippets by Vivien Didelot

This commit is contained in:
Holger Rapp 2012-11-02 12:46:19 +01:00
parent 890e1b6bd5
commit 39f9d77fe3
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,12 @@
###########################################################################
# 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/}
#define ${1:SYMBOL} ${2:value}
#endif

View File

@ -1290,6 +1290,7 @@ Contributors listed in chronological order:
Martin Krauskopf (martin-krauskopf)
Theocrite (theocrite)
Ferdinand Majerech (kiith-sa)
Vivien Didelot
Thank you for your support.