vue-mode icon indicating copy to clipboard operation
vue-mode copied to clipboard

vue-mode with js3-mode

Open vog opened this issue 7 years ago • 2 comments

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?

vog avatar Dec 11 '17 13:12 vog

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 avatar Dec 11 '17 23:12 AdamNiederer

@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 ..."

pbgc avatar Dec 30 '17 11:12 pbgc