Disable smartparens in web-mode

This commit is contained in:
Henrik Lissner 2015-02-05 00:58:21 -05:00
parent d42dacccc9
commit 87411e27dd

View file

@ -29,6 +29,9 @@
(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)))))