diff options
author | 2019-05-25 18:41:22 -0400 | |
---|---|---|
committer | 2019-05-25 18:41:22 -0400 | |
commit | 476f62281409cb1948658c3bb1032f7d2e9f4d2f (patch) | |
tree | cf5daa378edbb84ac7b0647d0ffc7830e3c60ff4 /.emacs.d/init.el | |
parent | 2f5d8190a4a914d9c2f9bfddaa3b9f2417c1c028 (diff) | |
download | configs-476f62281409cb1948658c3bb1032f7d2e9f4d2f.tar.gz configs-476f62281409cb1948658c3bb1032f7d2e9f4d2f.tar.xz configs-476f62281409cb1948658c3bb1032f7d2e9f4d2f.zip |
emacs: enable yasnippet globally and add a couple of snippets
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e236f40..42b2c79 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1508,11 +1508,10 @@ For disabling the behaviour for certain buffers and/or modes." :config (defconst yas-verbosity-cur yas-verbosity) (setq yas-verbosity 2) - (add-to-list 'yas-snippet-dirs "~/src/git/guix/etc/snippets") + (add-to-list 'yas-snippet-dirs "~/src/git/guix/etc/snippets" t) (yas-reload-all) (setq yas-verbosity yas-verbosity-cur) - :hook - (text-mode . yas-minor-mode)) + (yas-global-mode)) (use-package debbugs :straight (debbugs |