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 "bd" #'kill-this-buffer)
|
||||||
(evil-leader/set-key "e" #'dirvish-side))
|
(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
|
(use-package eglot
|
||||||
:hook
|
:hook
|
||||||
(prog-mode . eglot-ensure)
|
(prog-mode . eglot-ensure)
|
||||||
|
@ -194,16 +209,20 @@
|
||||||
(eglot-format-buffer)))
|
(eglot-format-buffer)))
|
||||||
|
|
||||||
(add-hook 'before-save-hook #'my/eglot-format-buffer-on-save)
|
(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
|
:ensure t
|
||||||
:demand t
|
:hook
|
||||||
|
(prog-mode . tree-sitter-hl-mode)
|
||||||
:config
|
:config
|
||||||
(load-theme 'catppuccin t))
|
(global-tree-sitter-mode))
|
||||||
|
|
||||||
(setq auto-save-default nil
|
(use-package tree-sitter-langs
|
||||||
make-backup-files nil)
|
:ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Rainbow Delimiters
|
** Rainbow Delimiters
|
||||||
|
|
Loading…
Reference in a new issue