Explorar el Código

Defer yasnippet until a programming mode starts

Josh Bicking hace 7 años
padre
commit
ecc8c3f1b1
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      emacs.d/packages/packages.el

+ 2 - 1
emacs.d/packages/packages.el

@@ -671,8 +671,9 @@
 
 (use-package yasnippet
   :ensure t
+  :defer t
   :init
-  (add-hook 'prog-mode-hook #'yas-minor-mode)
+  (add-hook 'prog-mode-hook 'yas-minor-mode)
   :config
   (yas-reload-all)
   ;; Add yasnippet support for all company backends