فهرست منبع

show the actual command (#1191)

Abouzar Parvan 4 سال پیش
والد
کامیت
c4bff33745
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lua/lsp/null-ls.lua

+ 1 - 1
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