about summary refs log tree commit diff
path: root/dotfiles
diff options
context:
space:
mode:
authorBaitinq <30861839+Baitinq@users.noreply.github.com>2024-03-01 01:17:25 +0100
committerGitHub <noreply@github.com>2024-03-01 01:17:25 +0100
commit966b9e16872059e61270b5f81d0aca2f9811feef (patch)
tree808debc3e632c7a4479d17a1defb6f5885f4f5cb /dotfiles
parentDotfiles: Emacs: Disable bell (diff)
downloadnixos-config-966b9e16872059e61270b5f81d0aca2f9811feef.tar.gz
nixos-config-966b9e16872059e61270b5f81d0aca2f9811feef.tar.bz2
nixos-config-966b9e16872059e61270b5f81d0aca2f9811feef.zip
Dotfiles: Emacs: Add treesit-auto
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.emacs8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs
index a891a70..0d4b12b 100644
--- a/dotfiles/.emacs
+++ b/dotfiles/.emacs
@@ -205,3 +205,11 @@
 (eval-after-load 'dired
   '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file)
 )
+
+(use-package treesit-auto
+  :ensure t
+  :custom
+  (treesit-auto-install 'prompt)
+  :config
+  (treesit-auto-add-to-auto-mode-alist 'all)
+  (global-treesit-auto-mode))