renzmann / treesit-auto

Automatic installation, usage, and fallback for tree-sitter major modes in Emacs 29
GNU General Public License v3.0
369 stars 28 forks source link

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

Closed renzmann closed 1 year ago

renzmann commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Fixed in 4fb1efbada31c5624b09a9804828677b54aa1569