Add yasnippet: oncekl

This commit is contained in:
laurensmiers 2018-05-03 14:53:09 +02:00
parent 37bccf6b79
commit 00beb88799

9
snippets/c-mode/oncekl Normal file
View 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 */