treesitter
This commit is contained in:
parent
37e9d3fd37
commit
1385c31e2f
29
config.org
29
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
|
||||
|
|
Loading…
Reference in a new issue