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

script tag indents everything at column 0 #97

Closed
bhanuvrat opened this issue Oct 6, 2019 · 2 comments
Closed

script tag indents everything at column 0 #97

bhanuvrat opened this issue Oct 6, 2019 · 2 comments

Comments

@bhanuvrat
Copy link

It has been working flawlessly for last whole year, and just yesterday stopped formatting script tag properly.
Contents are recognized as javascript, but executing indent-region makes it move every line to column zero. :(

image

@bhanuvrat
Copy link
Author

got this from #74 (comment)

works for me.

(setq mmm-js-mode-enter-hook (lambda () (setq syntax-ppss-table nil)))
(setq mmm-typescript-mode-enter-hook (lambda () (setq syntax-ppss-table nil)))

@lzhoucs
Copy link

lzhoucs commented Oct 8, 2019

Ran into the same issue on 26.3. No issue on 26.2 for a long time. #74 (comment)

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