mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 01:44:19 +00:00
re-design snippets hierarchy
This commit is contained in:
8
snippets/text-mode/cc-mode/once
Normal file
8
snippets/text-mode/cc-mode/once
Normal file
@@ -0,0 +1,8 @@
|
||||
#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 */
|
||||
Reference in New Issue
Block a user