fix(javascript): emmet-expand-jsx-className? = t

So emmet expands class snippets to className="..." instead of
class="...".

Fix #5556
This commit is contained in:
Henrik Lissner 2021-10-03 12:23:10 +02:00
parent 541cd1a58d
commit 3c79078634

View file

@ -142,7 +142,11 @@
typescript-indent-level
(or (and (bound-and-true-p tide-mode)
(plist-get (tide-tsfmt-options) :indentSize))
typescript-indent-level)))
typescript-indent-level)
;; Fix #5556: expand .x to className="x" instead of class="x", if
;; `emmet-mode' is used.
emmet-expand-jsx-className? t))
;;