Add yasnippet: oncekl
This commit is contained in:
parent
37bccf6b79
commit
00beb88799
1 changed files with 9 additions and 0 deletions
9
snippets/c-mode/oncekl
Normal file
9
snippets/c-mode/oncekl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#name : #ifndef XXX; #define XXX; #endif
|
||||
# key: oncekl
|
||||
# --
|
||||
#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (or (buffer-file-name) ""))))`_H_}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue