Remove treesit-auto init block

This commit is contained in:
Evie Litherland-Smith 2024-01-10 10:34:50 +00:00
parent c5885679c3
commit dd16b64748

View file

@ -210,7 +210,7 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
(add-to-list 'initial-frame-alist '(height . 80))
(add-to-list 'initial-frame-alist '(alpha-background . 80))
(add-to-list 'initial-frame-alist '(font . "JetBrainsMono Nerd Font-12"))
(add-to-list 'default-frame-alist '(alpha-background . 80))
(add-to-list 'default-frame-alist '(font . "JetBrainsMono Nerd Font-12"))
@ -718,10 +718,9 @@ 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))
(treesit-auto-add-to-auto-mode-alist)
(global-treesit-auto-mode +1))
(setq python-ts-mode-hook python-mode-hook)