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
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

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