diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-06-03 00:18:49 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-06-03 00:18:49 -0400 |
commit | e6276c428c52bcbacb9558e8efcb6179b0f7d751 (patch) | |
tree | 69774e0f1693587a1f51d7593b1e37287f7502ac | |
parent | 27addc87dc38cbc93b13bea7dd43063cde554ec9 (diff) | |
download | emacs.d-e6276c428c52bcbacb9558e8efcb6179b0f7d751.tar.gz |
Rework km/yas-dummy
Seems to have stopped working. Haven't looked into why.
In new setup, it seems to need the yas-reload-all call in order to see
my snippets right away. Again, haven't looked into it.
-rw-r--r-- | init.el | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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) |