You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version
1.16.0, Xaw3d scroll bars)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: NixOS 23.11 (Tapir)
Configured using:
'configure --prefix=/nix/store/956mdihpqbh2x1bm75xw80zjksgsbpgn-emacs-29.1
--disable-build-details --with-modules --with-x-toolkit=lucid --with-xft
--with-cairo --with-native-compilation --with-tree-sitter --with-xinput2'
ACK. There's not much to do here, except recommending you don't do this customization for Eglot.
When the buffer is saved, Flymake asks for diagnostics, and at that time, the server hasn't yet published the notification that says there are no diagnostics at all. According to the LSP spec, it can take all the time in the world for that.
There is now a "pull diagnostics" specification in LSP that would presumably fix this, but Eglot does not yet support this feature.
Steps to reproduce
go install golang.org/x/tools/gopls@latest
export PATH="${GOPATH:-$HOME/go}/bin:$PATH"
~/mre.el
emacs -Q -l ~/mre.el
fmt.Println
statement and save buffer - flymake diagnostic will be outdated and contain diagnostic from previous save.Contents of
M-x eglot-events-buffer
: https://gist.github.com/ipvych/391ac3103e168b9d0ae75f8322191fa9System information
(emacs-build-description)
:gopls version
:The text was updated successfully, but these errors were encountered: