From 65ad9cd252346a0ab3af05d299ea67bda8886139 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 21 May 2024 09:01:03 +0200 Subject: emacs: fix lsp-mode in daemon sessions --- user/settings/emacs.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'user/settings/emacs.nix') diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index f6e32ec1..bab94999 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -180,11 +180,10 @@ in }; }); lsp-mode = self.melpaPackages.lsp-mode.overrideAttrs { - LSP_USE_PLISTS = "true"; # sync with below + LSP_USE_PLISTS = "true"; # must be set in early-init }; }; extraConfig = '' - (setenv "LSP_USE_PLISTS" "true") ; sync with above (with-eval-after-load 'editorconfig (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) (when (featurep 'native-compile) -- cgit 1.4.1