From: Evgeni Kolev Date: Sat, 18 Aug 2018 11:33:13 +0000 (+0300) Subject: Add go-langserver () X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~440 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2190da46201ec01b58f9524e0e07172fbf44e3de;p=emacs.git 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 --- 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