diff --git a/emacs/.emacs.d/config/init-ide.el b/emacs/.emacs.d/config/init-ide.el index 8e84ba6..487a64f 100644 --- a/emacs/.emacs.d/config/init-ide.el +++ b/emacs/.emacs.d/config/init-ide.el @@ -227,6 +227,7 @@ (typescript-mode . eglot-ensure) (python-mode . eglot-ensure) (js-web-mode . eglot-ensure) + (tsx-ts-mode . eglot-ensure) (html-web-mode . eglot-ensure) (scala-mode . eglot-ensure) (c-mode . eglot-ensure) diff --git a/emacs/.emacs.d/config/init-treesit.el b/emacs/.emacs.d/config/init-treesit.el index 1c59357..5aef50a 100644 --- a/emacs/.emacs.d/config/init-treesit.el +++ b/emacs/.emacs.d/config/init-treesit.el @@ -1,6 +1,7 @@ ;; -*- lexical-binding: t; -*- (use-package treesit :straight (:type built-in) + :mode ("\\.tsx\\'" . tsx-ts-mode) :config (setq treesit-language-source-alist '((bash "https://github.com/tree-sitter/tree-sitter-bash")