vue-mode
vue-mode copied to clipboard
vue-mode with js3-mode
Is it possible to run vue-mode
with js3-mode for the JavaScript part?
If so, which entries in ~/.emacs.d/init.el
are needed?
You can customize vue-modes
by changing js-mode
to js3-mode
, but I don't know if it'll work well in the full-component view. If it doesn't, you can move your point over the javascript portion of the file and type M-x vue-mode-edit-indirect-at-point
or C-c C-k
to edit the javascript code in its own buffer.
@AdamNiederer I cannot use C-c C-k ... M-x vue-mode-edit-indirect-at-point When I try to use C-C C-k inside the javascript portion (or any other) I get: "C-c C-k is undefined" and indeed C-h k reports it as undefined ... and when I try outside I get: "Not in a template subsection" and C-h k shows: "C-c C-k runs the command vue-mode-edit-indirect-at-point ..."