-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removal of util.available_servers
from public API in #3571 - recommended alternative?
#3588
Comments
util. available_servers
from public API in #3571 - recommended alternative?util.available_servers
from public API in #3571 - recommended alternative?
Thanks for raising this, it helps to know what is actually being used. (Side-note: Nvim 0.11 adviceStarting with Nvim 0.11, the way to configure "all configs" is to use the special vim.lsp.config('*', {
capabilities = { … },
settings = { … },
on_attach = { … },
}) Nvim 0.10.x or older
|
Ok then we should restore the old name 😮💨 |
This reverts commit e118ce5. It turns out `util.available_servers` is used more than anticipated, so we revert the privatization for the time being. Closes neovim#3588.
This reverts commit e118ce5. It turns out `util.available_servers` is used more than anticipated, so we revert the privatization for the time being. Closes neovim#3588.
This reverts commit e118ce5. It turns out `util.available_servers` is used more than anticipated, so we revert the privatization for the time being. Closes neovim#3588.
Description
👋 Heya!
It seems that #3571 made
util.available_servers
a private function (as part of #2079), which is commonly used in user configurations to add capabilities to all servers.For example - my configuration contains:
Additionally - it's used/recommended in common community plugins - such as:
For now, I've migrated my personal config to simply use the private method, but is there a preferred alternative to achieve the same goal?
I may simply be missing an obvious API that allows me to do this - - so apologies if so :)
I've raised this as an issue, as the question template points to stack-overflow, which feels incorrect for a question for maintainers. Apologies if this is not the correct forum, I could not see a discussions tab.
Thank you!
The text was updated successfully, but these errors were encountered: