I'm trying to find a way out to solve a simple problem, and that is, enable Flycheck for vue-files (or any file using mmm-mode).
Since mmm-mode is not supported by Flycheck, and adding this feature doesn't look easy to me, I thought that a simple way to get this done was to use edit-indirect and once in the buffer Flycheck would work. Partially it does, but if the configuration for Flycheck points to binaries local to the project it breaks, since the buffer that edit-indirect uses is not saved into disk (AFAIK).
My proposal is to add an option that when set could save the buffer temporary in the same path of the original path, like:
project
app.vue
app.edit-indirect-temp.js
On abort or commit this file would be discarded. What are your thoughts about this?
Thank you
I'm trying to find a way out to solve a simple problem, and that is, enable Flycheck for
vue-files(or any file usingmmm-mode).Since
mmm-modeis not supported by Flycheck, and adding this feature doesn't look easy to me, I thought that a simple way to get this done was to useedit-indirectand once in the buffer Flycheck would work. Partially it does, but if the configuration for Flycheck points to binaries local to the project it breaks, since the buffer thatedit-indirectuses is not saved into disk (AFAIK).My proposal is to add an option that when set could save the buffer temporary in the same path of the original path, like:
On abort or commit this file would be discarded. What are your thoughts about this?
Thank you