diff --git a/ext/doom/config.el b/ext/doom/config.el index e93a02c..a1f2201 100644 --- a/ext/doom/config.el +++ b/ext/doom/config.el @@ -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) diff --git a/ext/doom/packages.el b/ext/doom/packages.el index 5e14139..2c2c618 100644 --- a/ext/doom/packages.el +++ b/ext/doom/packages.el @@ -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"))