From 2190da46201ec01b58f9524e0e07172fbf44e3de Mon Sep 17 00:00:00 2001 From: Evgeni Kolev Date: Sat, 18 Aug 2018 14:33:13 +0300 Subject: [PATCH] Add go-langserver () Copyright-paperwork-exempt: yes * README.md (Installation and usage): Add go-langserver. * eglot.el (eglot-server-programs): Add go-langserver. GitHub-reference: https://github.com/joaotavora/eglot/issues/74 --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 3fd98c7d800..d38e2503282 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -91,7 +91,8 @@ (php-mode . ("php" "vendor/felixfbecker/\ language-server/bin/php-language-server.php")) (haskell-mode . ("hie-wrapper")) - (kotlin-mode . ("kotlin-language-server"))) + (kotlin-mode . ("kotlin-language-server")) + (go-mode . ("go-langserver" "-mode=stdio" "-gocodecompletion"))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE is a mode symbol, or a list of mode symbols. The associated -- 2.39.2