emacs: use lsp-mode for go to support secondary language server
1 file changed, 6 insertions(+), 1 deletion(-)
changed files
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -127,6 +127,7 @@ just-mode justl kind-icon lua-mode + lsp-mode lispyville magit markdown-mode@@ -155,7 +156,7 @@ wgrep-ag ws-butler which-key ]); - overrides = self: super: rec { + overrides = self: super: { apheleia = self.melpaPackages.apheleia.overrideAttrs (old: { patchPhase = ''@@ -163,8 +164,12 @@ substituteInPlace apheleia-formatters.el \ --replace-fail '"prettier"' '"prettierd"' ''; }); + lsp-mode = self.melpaPackages.lsp-mode.overrideAttrs { + LSP_USE_PLISTS = "true"; # sync with below + }; }; 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)