Configure python for treesitter and org

This commit is contained in:
Tobias Ostner 2024-05-29 09:19:06 +02:00
parent 796a66c3a7
commit b5f67eba14

View file

@ -416,7 +416,8 @@
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp .t) '((emacs-lisp .t)
(shell . t)))) (shell . t)
(python . t))))
(use-package ob-restclient (use-package ob-restclient
:after org :after org
@ -581,7 +582,7 @@
:ts-mode 'swift-ts-mode :ts-mode 'swift-ts-mode
:remap '(swift-mode) :remap '(swift-mode)
:ext "\\.swift\\'")) :ext "\\.swift\\'"))
(setq treesit-auto-langs '(swift)) (setq treesit-auto-langs '(swift python))
(global-treesit-auto-mode)) (global-treesit-auto-mode))
(use-package yaml-mode) (use-package yaml-mode)