diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2024-08-26 18:11:08 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2024-08-26 18:11:08 +0200 |
| commit | d51b4a2860a8b5fad783d321d76c21091dfc9563 (patch) | |
| tree | c987551e84abd1a510d7cb02d79225a48e1d2d8a /dot.emacs.d | |
| parent | 774d288fea25868f5936e8b136b6b9953bd40d4f (diff) | |
Emacs: Use tree-sitter support for almost all supported modes
Diffstat (limited to 'dot.emacs.d')
| -rw-r--r-- | dot.emacs.d/init.el | 9 |
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) |
