Fix problem with smartparens when expanding nested snippets

This commit is contained in:
Steven Lin 2022-10-13 23:22:03 +08:00 committed by Maxi Wolff
parent c821b660c3
commit b8882d0741
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@
(spacemacs/set-leader-keys "is" 'spacemacs/ivy-yas))))
(defun auto-completion/post-init-smartparens ()
(with-eval-after-load 'smartparens
(with-eval-after-load 'hippie-exp
(add-hook 'yas-before-expand-snippet-hook
#'spacemacs//smartparens-disable-before-expand-snippet)
(add-hook 'yas-after-exit-snippet-hook