lang/web: fix duplicate closing delimiters
This commit is contained in:
parent
3d4a51b4a9
commit
2b36740325
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@
|
||||||
(setcdr alist
|
(setcdr alist
|
||||||
(cl-loop for pair in (cdr alist)
|
(cl-loop for pair in (cdr alist)
|
||||||
unless (string-match-p "^[a-z-]" (cdr pair))
|
unless (string-match-p "^[a-z-]" (cdr pair))
|
||||||
collect (cons (car pair) (string-trim-right (cdr pair))))))
|
collect (cons (car pair)
|
||||||
|
(string-trim-right (cdr pair)
|
||||||
|
"\\(?:>\\|]\\|}\\)+\\'")))))
|
||||||
(delq! nil web-mode-engines-auto-pairs))
|
(delq! nil web-mode-engines-auto-pairs))
|
||||||
|
|
||||||
(map! :map web-mode-map
|
(map! :map web-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue