reddit / emacs

Find out which language server my eglot currently uses

wWA5RnA4n2P3w2WvfHq · 2022-04-29 10:00
My `eglot` works. But I forgot which language server I installed (Debian 11). In the Messages and Eglot buffer I can not see a name of the server that eglot uses. How can I find out which one of the servers eglot uses?
oantolin · 2022-04-29 17:06
You could do this once the server is connected: M-: (process-command (jsonrpc--process (eglot-current-server)))