lang/web: fix 'pair was never defined' error
Caused by recent change upstream, in smartparens
This commit is contained in:
parent
7d2d27abe6
commit
412063f452
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
(defun +web-is-auto-close-style-3 (_id action _context)
|
(defun +web-is-auto-close-style-3 (_id action _context)
|
||||||
(and (eq action 'insert)
|
(and (eq action 'insert)
|
||||||
(eq web-mode-auto-close-style 3)))
|
(eq web-mode-auto-close-style 3)))
|
||||||
(sp-local-pair 'web-mode "<" nil :unless '(:add +web-is-auto-close-style-3))
|
(sp-local-pair 'web-mode "<" ">" :unless '(:add +web-is-auto-close-style-3))
|
||||||
|
|
||||||
;; let smartparens handle these
|
;; let smartparens handle these
|
||||||
(setq web-mode-enable-auto-quoting nil
|
(setq web-mode-enable-auto-quoting nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue