-
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
revert: "refactor!: make available_servers function private" #3589
Conversation
@@ -223,7 +223,7 @@ function M.get_managed_clients() | |||
return clients | |||
end | |||
|
|||
function M._available_servers() | |||
function M.available_servers() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function M.available_servers() | |
--- @deprecated use `vim.lsp.confg` in Nvim 0.11+ instead. | |
function M.available_servers() |
future: we should probably add lspconfig.util will be removed; use vim.lsp.confg in Nvim 0.11+
to all util.lua deprecation notices
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, people using nvim 0.10 won't have a way to remove this warning. I guess it's an acceptable tradeoff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our nvim-lspconfig deprecation plan didn't really consider concerns about non-breaking, soft warnings for Nvim 0.10, AFAIR. It doesn't strike me as too important, as long as their code doesn't break.
1aebdd7
to
8f5d0d1
Compare
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.
8f5d0d1
to
638d0bf
Compare
## Description Reverts #105. [neovim/nvim-lspconfig - PR #3589](neovim/nvim-lspconfig#3589) reverts `_available_servers` back to `available_servers`. ## Related Issue(s) Fixes #107. ## Screenshots NA
breaking changes in nvim-lspconfig reverted by neovim/nvim-lspconfig#3589
This reverts commit e118ce5.
It turns out
util.available_servers
is used more than anticipated, sowe revert the privatization for the time being.
Closes #3588.