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 (use-package treesit-auto
:diminish :diminish
:after (treesit)
:init
(global-treesit-auto-mode +1)
:config :config
(treesit-auto-add-to-auto-mode-alist) (treesit-auto-add-to-auto-mode-alist))
(global-treesit-auto-mode +1))
(setq python-ts-mode-hook python-mode-hook) (setq python-ts-mode-hook python-mode-hook)