summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/early-init.el2
-rw-r--r--user/settings/emacs.nix3
2 files changed, 3 insertions, 2 deletions
diff --git a/user/emacs/early-init.el b/user/emacs/early-init.el
index 29dadb92..8617e3f2 100644
--- a/user/emacs/early-init.el
+++ b/user/emacs/early-init.el
@@ -10,3 +10,5 @@
 (scroll-bar-mode -1)
 (tool-bar-mode -1)
 (set-fringe-mode '(4 . 4))
+
+(setenv "LSP_USE_PLISTS" "true") ; must match with lsp-mode override
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)