From ef72c91bb478ee49d35a884e1a31db35d5660a37 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 8 Sep 2024 18:38:15 +0400 Subject: [PATCH] death --- config/emacs/emacs.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index e63981c1..76374647 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -912,11 +912,12 @@ this should be useful later #+end_src ** Typescript #+begin_src emacs-lisp - (add-hook 'typescript-ts-mode 'eglot-ensure) - (add-hook 'tsx-ts-mode 'eglot-ensure) (add-to-list 'auto-mode-alist '(".*\\.ts" . typescript-ts-mode)) (add-to-list 'auto-mode-alist '(".*\\.tsx" . tsx-ts-mode)) + + (add-hook 'typescript-ts-mode 'eglot-ensure) + (add-hook 'tsx-ts-mode 'eglot-ensure) (setq treesit-language-source-alist '((typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src" nil nil)