(Emacs)+snippets from doom-snippet and removed default package
I've re-enabled yasnippet for ease of use, and added a ton of snippets directly into my Dotfiles so only I get to curate what snippets are removed. Screw downloading them off someone else's repository at their total mercy.
This commit is contained in:
11
Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once
Normal file
11
Emacs/.config/emacs/.config/yasnippet/snippets/cc-mode/once
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: #ifndef XXX; #define XXX; #endif
|
||||
# key: once
|
||||
# uuid: once
|
||||
# --
|
||||
#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