Call treesit-auto-add-to-auto-mode-alist on config
This commit is contained in:
parent
161b77ef3d
commit
2b1c29e551
|
@ -701,7 +701,9 @@ Set treesit to fontify all elements, default was 3 (out of 4)
|
||||||
(treesit-font-lock-level 4))
|
(treesit-font-lock-level 4))
|
||||||
|
|
||||||
(use-package treesit-auto
|
(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 rust-ts-mode-hook rust-mode-hook)
|
||||||
(setq python-ts-mode-hook python-mode-hook)
|
(setq python-ts-mode-hook python-mode-hook)
|
||||||
|
|
Loading…
Reference in a new issue