Is there any autoformatter plugin for vim that support customized style? Like, adding space after parentheses, place curly brackets in current line and something like that?
What I want to achieve is a customized auto format, so I can format my code like this:
void function () {
cout << "This format" << endl;
}
Instead of like this:
void function ()
{
cout << "Not this format" << endl;
}
I've installed vim-autoformat
. It's automated format is like the second style. So, is there any vim autoformatter that can be customized?