Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comments are not recognized in direct buffer in CSS or JS #96

Open
glyph opened this issue Sep 11, 2019 · 5 comments
Open

comments are not recognized in direct buffer in CSS or JS #96

glyph opened this issue Sep 11, 2019 · 5 comments

Comments

@glyph
Copy link

glyph commented Sep 11, 2019

Here's the way it looks in the direct buffer:

image

(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:

image

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.

@glyph
Copy link
Author

glyph commented Sep 11, 2019

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.

@pickardjoe
Copy link

I have the same issue.

@pickardjoe
Copy link

@glyph Try installing the latest mmm-mode from https://github.com/purcell/mmm-mode. That fixed it for me. I had version 5.7.

@glyph
Copy link
Author

glyph commented Jan 13, 2020

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

@glyph
Copy link
Author

glyph commented Jan 13, 2020

(In the meanwhile, I've given up on vue-mode and switched to web-mode, which generally seems to work a lot better.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants