You can just compile emacs
and/or neovim
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 or elisp
.
eglot
is an alternative to lsp-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 for lsp
.
if (!(number & 1))