diff --git a/vim/.vim/lua/plugins/conform.lua b/vim/.vim/lua/plugins/conform.lua index 85d9522..1c57c55 100644 --- a/vim/.vim/lua/plugins/conform.lua +++ b/vim/.vim/lua/plugins/conform.lua @@ -33,6 +33,7 @@ return { }, opts = { formatters_by_ft = { + rust = { "rustfmt", lsp_format = "fallback" }, -- Conform will run multiple formatters sequentially -- go = { "goimports", "gofmt" }, -- Use a sub-list to run only the first available formatter