From b5f67eba14b88aa5e7034c2955914d45c772a203 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Wed, 29 May 2024 09:19:06 +0200 Subject: [PATCH] Configure python for treesitter and org --- nix/config/emacs/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/config/emacs/init.el b/nix/config/emacs/init.el index 62a5e81..d0f2e4c 100644 --- a/nix/config/emacs/init.el +++ b/nix/config/emacs/init.el @@ -416,7 +416,8 @@ (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp .t) - (shell . t)))) + (shell . t) + (python . t)))) (use-package ob-restclient :after org @@ -581,7 +582,7 @@ :ts-mode 'swift-ts-mode :remap '(swift-mode) :ext "\\.swift\\'")) - (setq treesit-auto-langs '(swift)) + (setq treesit-auto-langs '(swift python)) (global-treesit-auto-mode)) (use-package yaml-mode)