all repos — nixfiles @ 18ed3572ae444dbbb8e64adbc29639290cbadb21

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

emacs: use lsp-mode for go to support secondary language server

Alan Pearce
commit

18ed3572ae444dbbb8e64adbc29639290cbadb21

parent

f134b702150f49f8ecaac7d3a1948422fd182592

1 file changed, 6 insertions(+), 1 deletion(-)

changed files
M user/settings/emacs.nixuser/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)