treesitter

This commit is contained in:
Mars 2024-10-04 22:29:50 -04:00
parent 37e9d3fd37
commit 1385c31e2f
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -174,6 +174,21 @@
(evil-leader/set-key "bd" #'kill-this-buffer)
(evil-leader/set-key "e" #'dirvish-side))
(use-package catppuccin-theme
:ensure t
:demand t
:config
(load-theme 'catppuccin t))
(setq auto-save-default nil
make-backup-files nil)
#+end_src
** LSP
*** Eglot
#+begin_src emacs-lisp
(use-package eglot
:hook
(prog-mode . eglot-ensure)
@ -194,16 +209,20 @@
(eglot-format-buffer)))
(add-hook 'before-save-hook #'my/eglot-format-buffer-on-save)
#+end_src
*** TreeSitter
(use-package catppuccin-theme
#+begin_src emacs-lisp
(use-package tree-sitter
:ensure t
:demand t
:hook
(prog-mode . tree-sitter-hl-mode)
:config
(load-theme 'catppuccin t))
(global-tree-sitter-mode))
(setq auto-save-default nil
make-backup-files nil)
(use-package tree-sitter-langs
:ensure t)
#+end_src
** Rainbow Delimiters