From 2be3e2727eb6d05754958331bd113400d87233f5 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:34:32 +0400 Subject: [PATCH] we --- config/emacs/emacs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 3c2bf176..f2bc8061 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -922,8 +922,8 @@ this should be useful later (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) + (add-hook 'typescript-ts-mode-hook 'eglot-ensure) + (add-hook 'tsx-ts-mode-hook 'eglot-ensure) (setq treesit-language-source-alist '((typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src" nil nil)