diff --git a/nix/config/emacs/init.el b/nix/config/emacs/init.el index f0cdd45..3b5833f 100644 --- a/nix/config/emacs/init.el +++ b/nix/config/emacs/init.el @@ -613,7 +613,8 @@ :ts-mode 'swift-ts-mode :remap '(swift-mode) :ext "\\.swift\\'")) - (setq treesit-auto-langs '(swift python)) + (setq treesit-auto-langs '(swift python typescript tsx)) + (treesit-auto-add-to-auto-mode-alist 'all) (global-treesit-auto-mode)) (use-package yaml-mode)