Hello.
I have been using both Neovim and Emacs on and off for about 2 years now, only really getting into both projects around 8 months ago.
After Emacs broke on NixOS (not sure whose fault it was), I didn’t want to see Emacs for a while, so I used Neovim and sort of forgot about Emacs, but now that flatpaks broke for me on Fedora a few days ago, and I decided to switch to PopOS where Neovim is a version or two older than the minimum for some plugins. I tried to make it work and failed so I’m back on Emacs.
I even managed to find a fix for an issue I had with the Dashboard Logo.
But I’ve grown used to the way Neovim does things with Mason, just compiling all language servers automagically.
In short, I couldn’t find a way to do that in Emacs and seeing as AI couldn’t help me in these endeavours, I decided the best place to ask for help would be here.
I need a way to easily install Language Servers, integrate them with LSP and Auto-Complete mode, and have Emacs or an Emacs package compile and/or install these language servers automatically with no further effort required on my part.
Thank you.
You can just compile
emacs
and/orneovim
yourself rather than installing a whole new distro to get different versions.As far as
lsp-mode
goes, a bunch of language servers will already auto install, you can add support for ones that don’t or script it yourself in the shell of your choice orelisp
.eglot
is an alternative tolsp-mode
that takes a more hands off approach.Enabling lsp for a specific language is pretty much just:
(add-hook '<LANG>-mode-hook 'lsp)
If you’re using
use-package
::hook (<LANG>-mode . lsp)
eglot
can be substituted forlsp
.