From cbf8762f15fac03a51eaa2c6f983d4a5045c95b4 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 13 Dec 2022 20:07:09 +0800 Subject: fix: run all matched client in LspStart (#2314) --- plugin/lspconfig.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 3ecde2f1..42ae0ff5 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -76,8 +76,8 @@ api.nvim_create_user_command('LspStart', function(info) end end - local other_matching_configs = require('lspconfig.util').get_other_matching_providers(vim.bo.filetype) - for _, config in ipairs(other_matching_configs) do + local matching_configs = require('lspconfig.util').get_config_by_ft(vim.bo.filetype) + for _, config in ipairs(matching_configs) do config.launch() end end, { -- cgit v1.2.3-70-g09d2