mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Move smartparens config for web-mode into init-web.el
This commit is contained in:
@ -29,9 +29,6 @@
|
||||
(sp-with-modes '(json-mode js2-mode ruby-mode enh-ruby-mode python-mode)
|
||||
(sp-local-pair "[" nil :post-handlers '(("||\n[i]" "RET"))))
|
||||
|
||||
;; Let web-mode handle autopairing
|
||||
(sp-local-pair 'web-mode "<" nil :actions nil)
|
||||
|
||||
(after "yasnippet"
|
||||
(defadvice yas-expand (before advice-for-yas-expand activate)
|
||||
(sp-remove-active-pair-overlay)))))
|
||||
|
Reference in New Issue
Block a user