comments are not recognized in direct buffer in CSS or JS
glyph opened this issue · 5 comments
Here's the way it looks in the direct buffer:
(Different colored identifiers are because I use rainbow-identifiers-mode
which makes the problem more obvious, but disabling that doesn't change the overall behavior.)
With vue-mode-edit-all-indirect
, an indirect buffer looks more like what I'd expect:
Indentation is also broken in the direct buffer; tab at any point just collapses indentation to the left margin. But I can't get flycheck et. al. to work in indirect buffers.
I'd love to provide some better diagnostics that indicate why this isn't working, so please let me know what information would be useful.
I have the same issue.
@glyph Try installing the latest mmm-mode from https://github.com/purcell/mmm-mode. That fixed it for me. I had version 5.7.
@pickardjoe 0.5.7 is the latest available from ELPA and the most recent I see in that repo, and it's not clear to me how to install a more recent version from source; the INSTALL file is just autoconf instructions.
(In the meanwhile, I've given up on vue-mode and switched to web-mode, which generally seems to work a lot better.)