lang/web: fully remove nil autopair group

This removes the nil autopair group, rather than just setting it to nil.
No functional different, it's [slightly] more performant.
This commit is contained in:
Henrik Lissner
2018-09-26 20:38:47 -04:00
parent 431ea613b0
commit c7032cf8b0

View File

@ -57,7 +57,7 @@
(if (string-match "\\(?:>\\|]\\|}\\)+\\'" string)
(replace-match "" t t string)
string))))))
(setf (alist-get nil web-mode-engines-auto-pairs) nil))
(delq (assq nil web-mode-engines-auto-pairs) web-mode-engines-auto-pairs))
(map! :map web-mode-map
(:localleader