From c53777030187d7273e05b84e242f2b3b5cfe513f Mon Sep 17 00:00:00 2001 From: Ingo Lohmar Date: Mon, 23 Sep 2019 20:05:55 +0200 Subject: [PATCH] Use gopls server as the default for go () Developers recommend it: see https://github.com/sourcegraph/go-langserver/blob/master/README.md * eglot (eglot-server-programs): Use gopls. * README.md: mention gopls instead of go-langserver. GitHub-reference: https://github.com/joaotavora/eglot/issues/304 --- lisp/progmodes/eglot.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index b87d5bb7c39..d160b577008 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -95,8 +95,7 @@ language-server/bin/php-language-server.php")) :autoport)) (haskell-mode . ("hie-wrapper")) (kotlin-mode . ("kotlin-language-server")) - (go-mode . ("go-langserver" "-mode=stdio" - "-gocodecompletion")) + (go-mode . ("gopls")) ((R-mode ess-r-mode) . ("R" "--slave" "-e" "languageserver::run()")) (java-mode . eglot--eclipse-jdt-contact) -- 2.39.2