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

js-mode not bumping up to js-ts-mode #23

Closed
renzmann opened this issue Feb 7, 2023 · 2 comments
Closed

js-mode not bumping up to js-ts-mode #23

renzmann opened this issue Feb 7, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@renzmann
Copy link
Owner

renzmann commented Feb 7, 2023

Even when (js-mode . js-ts-mode) is in major-mode-remap-alist, visiting a JavaScript file does not automatically switch to js-ts-mode.

@renzmann renzmann added the bug Something isn't working label Feb 7, 2023
@renzmann renzmann self-assigned this Feb 7, 2023
@renzmann
Copy link
Owner Author

renzmann commented Feb 7, 2023

This might be because in auto-mode-alist, it uses ("\\.js[mx]?\\'" . javascript-mode), even though under C-h m we see js-mode

@renzmann
Copy link
Owner Author

renzmann commented Feb 7, 2023

Fixed in 4fb1efb

@renzmann renzmann closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant