Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Same here. Really happy with eglot as well. I tried it with Go and all I needed in my config was:

    (use-package go-mode :ensure t
        :hook ((go-mode . (lambda () (setq tab-width 4)))))
And it works the emacs way, not trying to be something more "modern" (i.e. VS Code), which to me is so much nicer than all the lsp-ui nonsense that I was using before (no popups, docs show up in the minibuffer as it ought to).


For extended docs beyond the minibuffer, I've found that M-x eldoc works very nicely with eglot and follows the Emacs way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: