diff --git a/hosts/pinwheel/modules/emacs/config.org b/hosts/pinwheel/modules/emacs/config.org index f96b995..5c736b6 100644 --- a/hosts/pinwheel/modules/emacs/config.org +++ b/hosts/pinwheel/modules/emacs/config.org @@ -524,6 +524,10 @@ Setup prefix for keybindings. (scala-mode . alex/format-on-save) ) ) + + (use-package eglot-booster + :after eglot + :config (eglot-booster-mode)) #+END_SRC ** Eldoc-box #+BEGIN_SRC emacs-lisp diff --git a/hosts/pinwheel/modules/emacs/default.nix b/hosts/pinwheel/modules/emacs/default.nix index 43993ee..ce4e1a7 100644 --- a/hosts/pinwheel/modules/emacs/default.nix +++ b/hosts/pinwheel/modules/emacs/default.nix @@ -7,10 +7,23 @@ let alwaysEnsure = true; alwaysTangle = true; + extraEmacsPackages = epkgs: [ epkgs.flymake-go-staticcheck epkgs.tree-sitter-langs epkgs.treesit-grammars.with-all-grammars + + (epkgs.trivialBuild { + pname = "eglot-booster"; + version = "main-2024-04-11"; + + src = pkgs.fetchFromGitHub { + owner = "jdtsmith"; + repo = "eglot-booster"; + rev = "e19dd7ea81bada84c66e8bdd121408d9c0761fe6"; + hash = "sha256-vF34ZoUUj8RENyH9OeKGSPk34G6KXZhEZozQKEcRNhs="; + }; + }) ]; }; @@ -37,6 +50,7 @@ in ec emacs pkgs.wl-clipboard + pkgs.emacs-lsp-booster ]; };