Justin M. Keyes
Justin M. Keyes
> instead `:!clangd --version` not enough ? Maybe I misunderstood your suggestion. I think LspInfo could just do this automatically, by running `[cmd, '--version']`. No need to manually bake that...
> Or maybe just "version" can be added to the list of options in `try_format_version`. yes, that is the idea :) PR welcome... > since it ends up printing a...
> Probably need to add status command to each config. No. If server commands can't be bothered to provide `--version`, we aren't going to maintain special workarounds for them. They...
> Could `:LspInfo` also list root_dir? Thanks, that was a regression. Fixed in https://github.com/neovim/nvim-lspconfig/pull/3402
> No way lsp spec doesn't have a method to get information of server https://github.com/neovim/nvim-lspconfig/issues/3509#issuecomment-2548005376 mentions [serverInfo.version](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initializeResult)
Unless `man` exists, then yeah it won't work on Windows. However, we should show a better error message there. PR welcome.
Does disabling the terminal query module avoid the issue? nvim --cmd 'lua require("vim.termcap").query = function() end'
# Status related work: - https://github.com/neovim/nvim-lspconfig/pull/3450
No longer relevant since we migrated to `vim.lsp.config`
I think https://github.com/neovim/neovim/pull/30560 will help with this?