瀏覽代碼

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