From 93d75f0b2a23cfe0a2ca71cd75729a184ac45ee0 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Thu, 27 Jan 2022 23:27:31 +0530 Subject: [PATCH] Enable yasnippet in shells and REPLs --- init.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.org b/init.org index 9be2e34..2a49b26 100644 --- a/init.org +++ b/init.org @@ -3296,6 +3296,8 @@ But with =initials=, the desired completion is often buried in the results. That :ensure t :commands (yas-expand-snippet) :hook (prog-mode . yas-minor-mode-on) + (comint-mode . yas-minor-mode-on) + (slime-repl-mode . yas-minor-mode-on) :bind (:map yas-minor-mode-map ("" . nil) ("TAB" . nil) ;; use TAB only for completion ("C-n" . #'yas-expand))