aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/health.lua2
-rw-r--r--lua/lspconfig/util.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/health.lua b/lua/lspconfig/health.lua
index 64c584cf..c88d786d 100644
--- a/lua/lspconfig/health.lua
+++ b/lua/lspconfig/health.lua
@@ -224,7 +224,7 @@ local function check_lspconfig(bufnr)
bufnr = (bufnr and bufnr ~= -1) and bufnr or nil
health.start('LSP configs active in this session (globally)')
- health.info('Configured servers: ' .. table.concat(util.available_servers(), ', '))
+ health.info('Configured servers: ' .. table.concat(util._available_servers(), ', '))
local deprecated_servers = {}
for server_name, deprecate in pairs(require('lspconfig').server_aliases()) do
table.insert(deprecated_servers, ('%s -> %s'):format(server_name, deprecate.to))
diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua
index 56013415..bfcbb0a6 100644
--- a/lua/lspconfig/util.lua
+++ b/lua/lspconfig/util.lua
@@ -223,7 +223,7 @@ function M.get_managed_clients()
return clients
end
-function M.available_servers()
+function M._available_servers()
local servers = {}
local configs = require 'lspconfig.configs'
for server, config in pairs(configs) do