summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-07-15 00:02:46 +0200
committermms <michal@sapka.me>2024-07-15 00:03:13 +0200
commit18a318b4dfffea669dcc88b0e9aa452ccec6d46b (patch)
treecda43360bc1cae7d58f96c6030ee00ef6edee2be
parent2e93133943d295f8dfad863c5bdedc8d7eb5f9d8 (diff)
feat: auto install treesit modes
-rw-r--r--config.org12
1 files 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