diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-09 21:40:16 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-09 21:40:16 -0500 |
commit | f7bf880b1e616c72b539c72ec5507ba554382d6b (patch) | |
tree | 01ab8040fa544c0aa426cd84515b739d16758c7a | |
parent | dbcfc29514e23d5c6e74dbfa173d0c2ebdecf967 (diff) | |
download | rcm-f7bf880b1e616c72b539c72ec5507ba554382d6b.tar.gz rcm-f7bf880b1e616c72b539c72ec5507ba554382d6b.tar.bz2 rcm-f7bf880b1e616c72b539c72ec5507ba554382d6b.zip |
Remove typescript mode
-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)) |