diff --git a/lua/plugins/21-format.lua b/lua/plugins/21-format.lua new file mode 100644 index 0000000..a478dcf --- /dev/null +++ b/lua/plugins/21-format.lua @@ -0,0 +1,12 @@ +---@type LazySpec +return { + "stevearc/conform.nvim", + optional = true, + ---@module "conform" + ---@type conform.setupOpts + opts = { + formatters_by_ft = { + rust = { "dioxus", lsp_format = "first" }, + }, + }, +}