diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -272,7 +272,7 @@ :ensure t :defer t) -(use-package treesit) +(treesit) (setq treesit-language-source-alist '((bash "https://github.com/tree-sitter/tree-sitter-bash") @@ -343,8 +343,7 @@ (add-hook 'terraform-mode-hook 'my-terraform-mode-init)) (add-hook 'terraform-mode-hook 'eglot-ensure) -(unless (package-installed-p 'typescript-mode) - (package-install 'typescript-mode)) + (add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode)) (add-to-list 'auto-mode-alist '("\\.tsx\\'" . tsx-ts-mode)) |