summaryrefslogtreecommitdiff
path: root/lua/lsp/null-ls.lua
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-07-31 20:12:12 +0430
committerGitHub <[email protected]>2021-07-31 15:42:12 +0000
commitc4bff33745eb765ba49b170db2776284f5d015ef (patch)
treeb62ec282b38f14baac996f013aa2790861fa792d /lua/lsp/null-ls.lua
parentd700a706b1c524197c3638d8d084b907db2cd623 (diff)
show the actual command (#1191)
Diffstat (limited to 'lua/lsp/null-ls.lua')
-rw-r--r--lua/lsp/null-ls.lua2
1 files changed, 1 insertions, 1 deletions
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