Move smartparens config for web-mode into init-web.el
This commit is contained in:
parent
ee2a3380e7
commit
1d9ebc68ee
2 changed files with 11 additions and 3 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue