diff options
author | Abouzar Parvan <[email protected]> | 2021-07-31 20:12:12 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 15:42:12 +0000 |
commit | c4bff33745eb765ba49b170db2776284f5d015ef (patch) | |
tree | b62ec282b38f14baac996f013aa2790861fa792d | |
parent | d700a706b1c524197c3638d8d084b907db2cd623 (diff) |
show the actual command (#1191)
-rw-r--r-- | lua/lsp/null-ls.lua | 2 |
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 |