Enable treesitter for Typescript

This commit is contained in:
Tobias Ostner 2024-08-21 10:18:43 +02:00
parent 7683f27d43
commit 72a70f5375

View file

@ -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)