General cleanup

This commit is contained in:
Henrik Lissner 2016-06-08 14:43:40 -04:00
parent ea13be53b1
commit eaa467c1a7
12 changed files with 18 additions and 20 deletions

View file

@ -43,9 +43,7 @@
;; Strip out whitespace before a line selection
(add-hook 'yas-before-expand-snippet-hook 'doom|yas-before-expand)
;; Fix previous hook persisting yas-selected-text between expansions
(add-hook 'yas-after-exit-snippet-hook 'doom|yas-after-expand)
;; Suppress yasnippet with helm
(after! helm (push 'helm-alive-p yas-dont-activate-functions)))
(add-hook 'yas-after-exit-snippet-hook 'doom|yas-after-expand))
(use-package auto-yasnippet
:commands (aya-create aya-expand aya-open-line aya-persist-snippet)