chore(treesit): tweak setup of built-in treesit modes

This commit is contained in:
2023-05-09 01:11:29 +01:00
parent 5d65b32d1a
commit 146d2311a9
6 changed files with 51 additions and 38 deletions

View File

@@ -16,5 +16,13 @@
(when (not (treesit-ready-p ',lang))
(treesit-install-language-grammar ',lang))))))
(use-package treesit-auto
:demand t
:if (fboundp 'treesit-ready-p)
:custom
(treesit-auto-install nil)
:config
(global-treesit-auto-mode))
(provide 'siren-treesit)
;;; siren-treesit.el ends here