Skip to content

Commit 5653e18

Browse files
authored
fix(conform-nvim): use default timeout and explicit lsp_format (#1506)
1 parent b69674d commit 5653e18

File tree

1 file changed

+1
-1
lines changed
  • lua/astrocommunity/editing-support/conform-nvim

1 file changed

+1
-1
lines changed

lua/astrocommunity/editing-support/conform-nvim/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ return {
5959
opts = {
6060
default_format_opts = { lsp_format = "fallback" },
6161
format_on_save = function(bufnr)
62-
if vim.F.if_nil(vim.b[bufnr].autoformat, vim.g.autoformat, true) then return { timeout_ms = 500 } end
62+
if vim.F.if_nil(vim.b[bufnr].autoformat, vim.g.autoformat, true) then return { lsp_format = "fallback" } end
6363
end,
6464
},
6565
}

0 commit comments

Comments
 (0)