mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
21 lines
452 B
EmacsLisp
21 lines
452 B
EmacsLisp
;;; treesitter.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package treesit
|
|
:ensure nil
|
|
:config
|
|
(setq treesit-font-lock-level 4))
|
|
|
|
(use-package treesit-auto
|
|
:ensure t
|
|
:after treesit
|
|
:custom
|
|
(treesit-auto-install 'prompt)
|
|
(treesit-auto-langs '(bash c cpp dockerfile go gomod json markdown python rust yaml))
|
|
:config
|
|
(treesit-auto-add-to-auto-mode-alist 'all)
|
|
(global-treesit-auto-mode))
|
|
|
|
(provide 'treesitter)
|
|
|
|
;;; treesitter.el ends here
|