mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
re-design snippets hierarchy
This commit is contained in:
parent
07e1cdb981
commit
b376b1f00b
3
snippets/cc-mode/c-mode/fopen
Normal file
3
snippets/cc-mode/c-mode/fopen
Normal file
@ -0,0 +1,3 @@
|
||||
#name : FILE *fp = fopen(..., ...);
|
||||
# --
|
||||
FILE *${fp} = fopen(${"file"}, "${r}");
|
@ -1,8 +0,0 @@
|
||||
#name : #ifndef XXX; #define XXX; #endif
|
||||
# --
|
||||
#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
Loading…
x
Reference in New Issue
Block a user