diff --git a/config.org b/config.org index 714e22b..31576af 100644 --- a/config.org +++ b/config.org @@ -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