summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/init.el b/init.el
index ca38188..649632e 100644
--- a/init.el
+++ b/init.el
@@ -1231,12 +1231,15 @@
(use-package yasnippet
:diminish yas-minor-mode
- :commands km/yas-dummy
+ :defer t
:init
+ (defun km/yas-dummy ()
+ (interactive)
+ (require 'yasnippet)
+ (yas-reload-all 'no-jit)
+ (message "Yas loaded"))
(global-set-key (kbd "C-c i") #'km/yas-dummy)
:config
- (defun km/yas-dummy ()
- (interactive))
(global-set-key (kbd "C-c i") nil)
(setq yas-fallback-behavior nil)