summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))