From 2b1c29e551507d44b59f4fa9872d8651d3c422b8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 31 Dec 2023 09:31:52 +0000 Subject: [PATCH] Call treesit-auto-add-to-auto-mode-alist on config --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index ba34af9..83b5450 100644 --- a/README.org +++ b/README.org @@ -701,7 +701,9 @@ Set treesit to fontify all elements, default was 3 (out of 4) (treesit-font-lock-level 4)) (use-package treesit-auto - :config (global-treesit-auto-mode +1)) + :config + (treesit-auto-add-to-auto-mode-alist) + (global-treesit-auto-mode +1)) (setq rust-ts-mode-hook rust-mode-hook) (setq python-ts-mode-hook python-mode-hook)