Enable treesitter for Typescript
This commit is contained in:
parent
7683f27d43
commit
72a70f5375
1 changed files with 2 additions and 1 deletions
|
|
@ -613,7 +613,8 @@
|
||||||
: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 python))
|
(setq treesit-auto-langs '(swift python typescript tsx))
|
||||||
|
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||||
(global-treesit-auto-mode))
|
(global-treesit-auto-mode))
|
||||||
|
|
||||||
(use-package yaml-mode)
|
(use-package yaml-mode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue