Demostrating Gopls failing under Eglot v0.9.5.
- Save
init-eglot-test.el
somewhere - Save
main.go
at$PWD
- Run Emacs using:
- GUI mode:
/path/to/Emacs.app/MacOS/Emacs -Q -l test-eglot.el
- Terminal mode:
/path/to/Emacs.app/MacOS/Emacs -nw -Q -l test-eglot.el
- GUI mode:
It may not fail on the first start (when e.g. go-mode
is being compiled), but subsequent runs will/may fail.