feat(rust): enable dioxus formatter for rust files

This commit is contained in:
2025-05-25 23:29:32 +02:00
parent 7d509c7ea9
commit e7296d71a4

12
lua/plugins/21-format.lua Normal file
View File

@@ -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" },
},
},
}