@ -634,9 +634,10 @@ Language Server Protocol.
#+BEGIN_SRC emacs-lisp
(use-package yasnippet
:defer t
:config
:init
(setq yas-snippet-dirs (list (concat dot-emacs-dir "/snippets")))
(setq yas-prompt-functions '(yas-completing-prompt))
(yas-global-mode))
(use-package yasnippet-snippets
@ -3,8 +3,8 @@
# key: grd
# --
#ifndef ${1:GUARD}_H
#define ${1:$(yas-c++-class-name yas-text)}_H
#define $1_H
$0
#endif // ${1:$(yas-c++-class-name yas-text)}_H
#endif // $1_H