
all the formatters and linters are dynamically added, and they are going to the extras modules
10 lines
231 B
Lua
10 lines
231 B
Lua
return {
|
|
{
|
|
"stevearc/conform.nvim",
|
|
opts = function(_, opts)
|
|
opts.formatters_by_ft.rust = opts.formatters_by_ft.rust or {}
|
|
table.insert(opts.formatters_by_ft.rust, "rustfmt")
|
|
return opts
|
|
end,
|
|
},
|
|
}
|