aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2025-01-27 22:04:47 +0100
committerGitHub <noreply@github.com>2025-01-27 13:04:47 -0800
commit1f941b3668151963fca3e1230922c433ea4b7b64 (patch)
tree8d60dea0ac4991fb95d6ce521189b89e8ee1eb97 /plugin
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar.gz
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar.bz2
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar.lz
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar.xz
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.tar.zst
nvim-lspconfig-1f941b3668151963fca3e1230922c433ea4b7b64.zip
revert: "refactor!: make available_servers function private" #3589
This reverts commit e118ce58dab72c17216292eef7df4cee3cf60885. It turns out `util.available_servers` is used more than anticipated, so we revert the privatization for the time being. Closes https://github.com/neovim/nvim-lspconfig/issues/3588
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lspconfig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua
index 44a1fcf9..92a8208b 100644
--- a/plugin/lspconfig.lua
+++ b/plugin/lspconfig.lua
@@ -14,7 +14,7 @@ end
local lsp_complete_configured_servers = function(arg)
return completion_sort(vim.tbl_filter(function(s)
return s:sub(1, #arg) == arg
- end, util._available_servers()))
+ end, util.available_servers()))
end
local lsp_get_active_clients = function(arg)