From c4bff33745eb765ba49b170db2776284f5d015ef Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Sat, 31 Jul 2021 20:12:12 +0430 Subject: [PATCH] show the actual command (#1191) --- lua/lsp/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lsp/null-ls.lua b/lua/lsp/null-ls.lua index 2098ea9e..fde6c5bd 100644 --- a/lua/lsp/null-ls.lua +++ b/lua/lsp/null-ls.lua @@ -10,7 +10,7 @@ function M.get_registered_providers_by_filetype(ft) local matches = {} for _, provider in pairs(M.requested_providers) do if vim.tbl_contains(provider.filetypes, ft) then - table.insert(matches, provider.name) + table.insert(matches, provider._opts.command) end end