Skip to content

Commit

Permalink
Fix problem with smartparens when expanding nested snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoskomnenos authored and smile13241324 committed Oct 19, 2022
1 parent c821b66 commit b8882d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+completion/auto-completion/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8882d0

Please sign in to comment.