vim-autoformat
Provide code formatting in Vim by integrating existing code formatters
...It supports a wide range of formatters—such as Black, isort, yapf, Prettier, clang-format, gofmt, rustfmt, shfmt, and many more—while letting you override arguments per project or per filetype. Results flow back into the buffer, replacing content or selected regions, and can integrate with quickfix for error reporting when a tool fails. You can wire formatting to save events, cursor holds, or run it manually, keeping it as strict or as gentle as your workflow needs. For teams, a shared config ensures consistent code style across contributors regardless of their local editor knowledge.