Prettify yas hooks

This commit is contained in:
contrapunctus 2022-02-13 17:50:16 +05:30
parent 7ff58a141a
commit c61fce7b3d
1 changed files with 3 additions and 2 deletions

View File

@ -3408,8 +3408,9 @@ But with =initials=, the desired completion is often buried in the results. That
(use-package yasnippet
:ensure t
:commands (yas-expand-snippet)
:hook (prog-mode . yas-minor-mode-on)
(comint-mode . yas-minor-mode-on)
: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