all repos — nixfiles @ fedce35bc1d2f35d8d95d983768015149e66facd

System and user configuration, managed by nix and home-manager

emacs: auto-fetch nix flake inputs whilst editing
Alan Pearce alan@alanpearce.eu
Fri, 08 Sep 2023 19:35:37 +0200
commit

fedce35bc1d2f35d8d95d983768015149e66facd

parent

53eca4cfe65bb0a4d96f24871575629399d6d569

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1028,7 +1028,8 @@ (defun my/setup-eglot-eldoc ()               (push 'flymake-eldoc-function eldoc-documentation-functions))
             (add-hook 'eglot-managed-mode-hook 'my/setup-eglot-eldoc)
             (setq-default eglot-workspace-configuration
-                          '(:yaml (:keyOrdering nil))
+                          '(:yaml (:keyOrdering nil)
+                                  :nix (:autoArchive t))
                           eglot-ignored-server-capabilities '(:documentHighlightProvider))))
 
 (use-package consult-eglot