lang/web: emmet-expand-jsx-className = t in rjsx-mode
This commit is contained in:
parent
7ee4560c28
commit
b701303909
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue