Fix auto-mode-alist', but Emacs still defaults to
python-mode'
This commit is contained in:
parent
0ddddbdbaf
commit
68092c597d
@ -396,7 +396,7 @@ the contents of packages and allows to update packages to the latest version.
|
||||
;; (setq major-mode-remap-alist '((python-mode . python-ts-mode)))
|
||||
;; Plays nicely with eglot:
|
||||
(add-to-list 'auto-mode-alist
|
||||
`(,(rx ".py" (opt "[iw]") eos) . python-ts-mode)))))
|
||||
`(,(rx ".py" (opt (any "iw")) eos) . python-ts-mode)))))
|
||||
#+end_src
|
||||
|
||||
* [[info:emacs#Faces][Text faces or styles (info)]]
|
||||
|
Loading…
Reference in New Issue
Block a user