Add languages using treesitter

This commit is contained in:
Tobias Ostner 2024-09-23 10:34:49 +02:00
parent 4192960596
commit b6d3c50cbc

View file

@ -624,7 +624,13 @@
:ts-mode 'swift-ts-mode
:remap '(swift-mode)
:ext "\\.swift\\'"))
(setq treesit-auto-langs '(swift python typescript tsx javascript jsx))
(setq treesit-auto-langs
'(swift
python
typescript
tsx
javascript
jsx))
(treesit-auto-add-to-auto-mode-alist 'all)
(global-treesit-auto-mode))