Disable smartparens in web-mode
This commit is contained in:
parent
d42dacccc9
commit
87411e27dd
1 changed files with 3 additions and 0 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue