Skip to content

Commit 41bbc1c

Browse files
committed
fix(provider): use list_formatters instead of list_formatters_for_buffer
1 parent d101258 commit 41bbc1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astroui/status/provider.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function M.lsp_client_names(opts)
541541
if opts.integrations.conform and package.loaded["conform"] then -- conform integration
542542
local conform = require "conform"
543543
if not conform.will_fallback_lsp { bufnr = bufnr } then
544-
vim.list_extend(buf_client_names, conform.list_formatters_for_buffer(bufnr))
544+
vim.list_extend(buf_client_names, vim.tbl_map(function(c) return c.name end, conform.list_formatters(bufnr)))
545545
end
546546
end
547547
if opts.integrations["nvim-lint"] and package.loaded["lint"] then -- nvim-lint integration

0 commit comments

Comments
 (0)