From e9839ffc82bb1f2f4af6069438798524e1ca559c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 16 Aug 2023 14:05:53 +0200 Subject: emacs: Add ‘python-ts-mode’ to ‘auto-mode-alist’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/emacs/config.org') 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)) -- cgit v1.2.3