summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/rustfmt.lua
AgeCommit message (Collapse)Author
2024-06-05fix(rustfmt): add a default cwd when config file is detected (#419)Steven Arcangeli
2024-05-13feat: add support for yew-fmt (#398)Mads Hougesen
* feat: add support for yew-fmt Should close #314 :) * refactor: copy rustfmt to yew-fmt * fix: use correct default_edition * refactor: extract Cargo.toml parsing into utility function * refactor: yew-fmt doesn't rely directly on rustfmt definition --------- Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-03-14fix(rustfmt): parse edition from Cargo.toml (#330)Steven Arcangeli
2024-03-13fix(rustfmt): use Cargo.toml settings and default to recent edition (#328)Steven Arcangeli
2023-08-28feat: range formattingSteven Arcangeli
Should work the same as vim.lsp.buf.format(). Additionally, range formatting is supported for *any* formatter. If the formatter doesn't have native support for ranges, conform will do its best to only apply the diffs that affect that range.
2023-08-25feat: first working versionSteven Arcangeli