rust formatter

This commit is contained in:
Christian Nieves
2024-12-07 21:30:03 -06:00
parent 3cf440ec45
commit 29bb1af1e0

View File

@ -33,6 +33,7 @@ return {
}, },
opts = { opts = {
formatters_by_ft = { formatters_by_ft = {
rust = { "rustfmt", lsp_format = "fallback" },
-- Conform will run multiple formatters sequentially -- Conform will run multiple formatters sequentially
-- go = { "goimports", "gofmt" }, -- go = { "goimports", "gofmt" },
-- Use a sub-list to run only the first available formatter -- Use a sub-list to run only the first available formatter