Enable yasnippet in shells and REPLs

This commit is contained in:
contrapunctus 2022-01-27 23:27:31 +05:30
parent 5b5b2fd41b
commit 93d75f0b2a
1 changed files with 2 additions and 0 deletions

View File

@ -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
("<tab>" . nil) ("TAB" . nil) ;; use TAB only for completion
("C-n" . #'yas-expand))