aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 4c2ff14..c8440ba 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -141,6 +141,15 @@
(add-hook 'cperl-mode-hook h))
(setq flymake-perlcritic-severity 1))
+(use-package treesit-auto
+ :demand t
+ :custom
+ (treesit-auto-install 'prompt)
+ :config
+ (setq treesit-auto-langs (seq-difference treesit-auto-langs '(go gomod yaml)))
+ (treesit-auto-add-to-auto-mode-alist 'all)
+ (global-treesit-auto-mode))
+
(use-package lsp-mode
:commands lsp
:bind-keymap ("s-l" . lsp-command-map)