Add languages using treesitter
This commit is contained in:
parent
4192960596
commit
b6d3c50cbc
1 changed files with 7 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue