diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2e9480cf..615a8f89 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -855,7 +855,9 @@ :diminish yas-minor-mode :defer 5 :config - (yas-global-mode 1)) + (yas-global-mode 1) + (when (f-exists? "/usr/share/yasnippet-snippets") + (add-to-list 'yas-snippet-dirs "/usr/share/yasnippet-snippets" t))) ;;; htmlize for Org HTML export/publishing |