Open FredrikMeyer opened 3 years ago
I am not sure when the vue-mode-hook gets executed. You could try to use
(setq mmm-typescript-mode-submode-hook #'setup-vue-with-ts)
There seem to be a lot of issues though, as tsserver tries to parse the whole file instead of the snippet. There was a fix https://github.com/ananthakumaran/tide/pull/203 submitted earlier, but it doesn't seem to work anymore. Not sure it's a regression in tide or mmm mode.
Thank you for the quick answer!
Your suggestion seem work! Thanks.
Thank you for the best JS minor mode out there :)
Hi,
I have a problem with vue-mode + tide.
Every time I open a .vue file, I get the following error in the
*Messages*
tab:But if I just manually run
M-x tide-setup
, everything works fine. The problem is that I have to do this for every new.vue
buffer.I'm guessing this has something to do with
vue-mode
being derived frommmm-mode
.Here is my configuration:
Tide works perfect in non-Vue buffers.
I get the same error message when I do
M-x tide-verify-setup
.Relevant Version Numbers
(The list above is minimal. Make sure to include any other version numbers relevant to your report.)
Steps to Reproduce the Bug
Open any Vue buffer with the above configuration and try to do anything
tide
-related, likeM-.
.Expected Behavior
No errors.
Actual Behavior
The error message.