lang/web: emmet-expand-jsx-className = t in rjsx-mode

This commit is contained in:
Henrik Lissner 2018-04-02 22:02:32 -04:00
parent 7ee4560c28
commit b701303909
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,6 +19,8 @@
:hook (css-mode web-mode html-mode haml-mode nxml-mode rjsx-mode) :hook (css-mode web-mode html-mode haml-mode nxml-mode rjsx-mode)
:config :config
(setq emmet-move-cursor-between-quotes t) (setq emmet-move-cursor-between-quotes t)
(add-hook! 'rjsx-mode-hook
(setq-local emmet-expand-jsx-className? t))
(map! :map emmet-mode-keymap (map! :map emmet-mode-keymap
:v "M-e" #'emmet-wrap-with-markup :v "M-e" #'emmet-wrap-with-markup
:i "M-e" #'emmet-expand-yas :i "M-e" #'emmet-expand-yas