seagle0128 / doom-modeline

A fancy and fast mode-line inspired by minimalism design.
https://seagle0128.github.io/doom-modeline/
GNU General Public License v3.0
1.29k stars 159 forks source link

Optionally show lsp server info next to the lsp segment icon #645

Closed fargiolas closed 1 year ago

fargiolas commented 1 year ago

It would be great if the lsp segment could show the current server name next to the icon. See e.g. default eglot modeline that shows what eglot calls `nick'.

It's pretty useful if you use eglot-extend-to-xref which reuses current server when jumping through external definitions. The same file can be sometimes be reached through xref starting from a different project so it's great to know at a quick glance which server is actually managing the buffer.