Vim Codefmt
Vim plugin for syntax-aware code formatting
...Autoformat can be enabled via standard Vim autocommands, making it easy to format on filetype or on write while still allowing opt-out on a per-buffer basis. With broad language coverage—from C, C++, Java, Python, and Go to Kotlin, Rust, Swift, Bazel, Markdown, and more—vim-codefmt helps teams maintain consistent style across heterogeneous codebases.