summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-16 14:05:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-16 14:05:53 +0200
commite9839ffc82bb1f2f4af6069438798524e1ca559c (patch)
tree7c5df767cbedf3a34f344478f245b19c1d22ccc7 /.config
parentf090d31414d3f46ece02b1e654cbf4ef46c78eaf (diff)
emacs: Add ‘python-ts-mode’ to ‘auto-mode-alist’
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/config.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index 03692c0..834fe3b 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -1019,10 +1019,12 @@ file with a certain file extension.
#+BEGIN_SRC elisp
+ (require 'python-ts-mode)
(require 'rust-ts-mode)
(require 'yaml-ts-mode)
- (cl-dolist (pair '(("\\.rs\\'" . rust-ts-mode)
+ (cl-dolist (pair '(("\\.py\\'" . python-ts-mode)
+ ("\\.rs\\'" . rust-ts-mode)
("\\.ya?ml\\'" . yaml-ts-mode)))
(add-to-list 'auto-mode-alist pair))