Using LSP in Emacs and Debian
anarc.at
anarc.at
If you've had problems getting this stuff to work, I highly recommend eglot.
What makes eglot work for me is that it actually works. It is very low drama and does essentially what it says it'll do. I open up a file in most of the languages I work on, click on a function call, `xref-find-definitions`, and poof there I am at that function's definition. It's cut down my grepping by at least 50%.
In general, I'm really enjoying the rise of high-quality packages that work with Emacs rather than providing their own thing. For instance I switched from Ivy to Vertico and it's nice that there's nothing to configure: any time Emacs prompts for input, Vertico is there. With Ivy, I had to do a few configurations to enable Ivy completion everywhere.
[0] https://github.com/nix-community/home-manager
[1] https://github.com/siraben/dotfiles/blob/bad2e8a29b6622e10bc...
Heh that’s a neat use-package feature I’m about to rewrite my .emacs with.
:hook ((xxx yyy) . <triggered function>)