mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/web: fix 'pair was never defined' error
Caused by recent change upstream, in smartparens
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user