From 18a318b4dfffea669dcc88b0e9aa452ccec6d46b Mon Sep 17 00:00:00 2001 From: mms Date: Mon, 15 Jul 2024 00:02:46 +0200 Subject: feat: auto install treesit modes --- config.org | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 74f0d56..c01b161 100644 --- a/config.org +++ b/config.org @@ -7,10 +7,14 @@ ** Treesitter -Tresitter has huge problems working on FreeBSD. In my case it just throws errors around unsupported system type. -I'll return here on a later date - -*** TODO retry Trisitter on FreeBSD +#+begin_src emacs-lisp +(use-package treesit-auto + :custom + (treesit-auto-install 'prompt) + :config + (treesit-auto-add-to-auto-mode-alist 'all) + (global-treesit-auto-mode)) +#+end_src ** Varia -- cgit v1.2.3