diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 1d7a44c..fa1184d 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -916,6 +916,15 @@ Visualise git changes in the gutter, next to the line numbers :after tree-sitter) #+end_src +Automatically use the =-ts-mode= when it is available + +#+begin_src emacs-lisp + (use-package treesit-auto + :config + (setq treesit-auto-install 'prompt) + (global-treesit-auto-mode)) +#+end_src + *** lsp-mode [[https://emacs-lsp.github.io/lsp-mode][lsp-mode]] adds Language Server Protocol support to emacs.