Skip to content

Commit

Permalink
Customize sp-sexp-suffix for web-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuco1 committed Oct 27, 2018
1 parent 2415990 commit 3eecb2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions smartparens-html.el
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ specifies if we are inside a string or code."
(--each sp--html-modes
(add-to-list 'sp-navigate-consider-sgml-tags it))

(--each '(web-mode)
(add-to-list 'sp-sexp-suffix (list it 'regexp "")))

(provide 'smartparens-html)

;;; smartparens-html.el ends here

0 comments on commit 3eecb2d

Please sign in to comment.