From e118ce58dab72c17216292eef7df4cee3cf60885 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 20 Jan 2025 23:06:18 +0100 Subject: refactor!: make available_servers function private Work on https://github.com/neovim/nvim-lspconfig/issues/2079. --- test/lspconfig_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/lspconfig_spec.lua b/test/lspconfig_spec.lua index 52d33eac..39e5783a 100644 --- a/test/lspconfig_spec.lua +++ b/test/lspconfig_spec.lua @@ -144,7 +144,7 @@ describe('lspconfig', function() local _ = lspconfig.lua_ls local _ = lspconfig.tsserver lspconfig.rust_analyzer.setup {} - same({ 'rust_analyzer' }, require('lspconfig.util').available_servers()) + same({ 'rust_analyzer' }, require('lspconfig.util')._available_servers()) end) it('provides user_config to the on_setup hook', function() -- cgit v1.2.3-70-g09d2