AdamNiederer/vue-mode

web-mode reloading changes mode off vue-mode

ar1a opened this issue · 1 comments

ar1a commented
<template>
<a></a>
</template>

with everything parsed correctly, put cursor inside the template and press C-c C-r (web-mode-reload). It swaps the major mode to web-mode.

Can we block this somehow? without it, there's no highlighting etc.

That'd probably be a lot easier for the web-mode guys to prevent - try filing an issue with them. It should be a quick fix (check for mmm-mode, and abort if it's the primary mode) in their code.