General cleanup
This commit is contained in:
parent
ea13be53b1
commit
eaa467c1a7
12 changed files with 18 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue