Add eglot-x & treesit-fold

This commit is contained in:
Tristan D. 2024-09-17 10:57:32 +02:00
parent aa4f4f62c4
commit e4e7209c48
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 17 additions and 2 deletions

View file

@ -142,6 +142,14 @@
:config
(eglot-booster-mode))
(use-package! treesit-fold
:after tree-sitter)
(use-package! eglot-x
:after eglot
:commands (eglot-x-setup))
;; rust
(setq! lsp-inlay-hint-enable t)
(setq! lsp-rust-analyzer-cargo-run-build-scripts t)

View file

@ -39,8 +39,6 @@
;; Use `:pin' to specify a particular commit to install.
(package! eglot-booster :recipe (:type git :host nil :repo "https://github.com/jdtsmith/eglot-booster.git" :branch "main"))
;; tabs
(package! centaur-tabs)
@ -61,6 +59,15 @@
(package! magit-gptcommit :recipe (:host github :repo "douo/magit-gptcommit" :branch "master"))
;;;;;;;;;;;;;;;;;;;;;;;;;
;; rust analyzer extensions for eglot + treesit foledr
(package! treesit-fold :recipe (:host github :repo "emacs-tree-sitter/treesit-fold"))
(package! eglot-x :recipe (:host github :repo "nemethf/eglot-x"))
(package! eglot-booster :recipe (:type git :host nil :repo "https://github.com/jdtsmith/eglot-booster.git" :branch "main"))
;;;;;;
(package! tabby
:recipe (:host github :files ("*.el" "node_scripts")
:repo "alan-w-255/tabby.el"))