Make treesit-auto after treesit package

This commit is contained in:
Evie Litherland-Smith 2024-01-10 10:33:39 +00:00
parent c4729d37c4
commit c5885679c3

View file

@ -717,9 +717,11 @@ Set treesit to fontify all elements, default was 3 (out of 4)
(use-package treesit-auto
:diminish
:after (treesit)
:init
(global-treesit-auto-mode +1)
:config
(treesit-auto-add-to-auto-mode-alist)
(global-treesit-auto-mode +1))
(treesit-auto-add-to-auto-mode-alist))
(setq python-ts-mode-hook python-mode-hook)