Closed renzmann closed 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.
(js-mode . js-ts-mode)
major-mode-remap-alist
js-ts-mode
This might be because in auto-mode-alist, it uses ("\\.js[mx]?\\'" . javascript-mode), even though under C-h m we see js-mode
auto-mode-alist
("\\.js[mx]?\\'" . javascript-mode)
C-h m
js-mode
Fixed in 4fb1efbada31c5624b09a9804828677b54aa1569
Even when
(js-mode . js-ts-mode)
is inmajor-mode-remap-alist
, visiting a JavaScript file does not automatically switch tojs-ts-mode
.