From: Davide Masserut Date: Sun, 13 Nov 2022 11:30:43 +0000 (+0100) Subject: Add new Go modes to eglot-server-programs X-Git-Tag: emacs-29.0.90~1616^2~173 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae9e4414159b974e299f891a4edb46c89ca5b7ba;p=emacs.git Add new Go modes to eglot-server-programs * lisp/progmodes/eglot.el (eglot-server-programs): Add new major modes for Go to be used with gopls. (Bug#59245) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 97c674f7aa9..98d5281d2c3 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -206,7 +206,7 @@ language-server/bin/php-language-server.php")) (elm-mode . ("elm-language-server")) (mint-mode . ("mint" "ls")) (kotlin-mode . ("kotlin-language-server")) - (go-mode . ("gopls")) + ((go-mode go-dot-mod-mode go-dot-work-mode) . ("gopls")) ((R-mode ess-r-mode) . ("R" "--slave" "-e" "languageserver::run()")) (java-mode . ("jdtls"))