fix conform

This commit is contained in:
Christian Nieves
2025-04-26 19:31:08 -05:00
parent 28ac8a99b9
commit edf9ae6ada

View File

@ -51,11 +51,9 @@ return {
end
require("conform").format({ async = true })
end, { range = true })
end,
-- This will provide type hinting with LuaLS
---@module "conform"
---@type conform.setupOpts
opts = {
require("conform").setup(
{
log_level = vim.log.levels.DEBUG,
formatters_by_ft = {
rust = { "rustfmt" },
@ -85,6 +83,7 @@ return {
prepend_args = { "-l", "100" },
},
},
},
})
end,
},
}