I have recently installed the c.vim plugin. The only issue is when I type \im
(automatically adds the main function) this is the way how it displays it.
int
main ( int argc, char *argv[] )
{
return EXIT_SUCCESS;
} /* ---------- end of function main ---------- */
As you can see it looks a bit messy (I think so at least!). Because of this is there a way how I can format it like this?
int main ( int argc, char *argv[] )
{
return EXIT_SUCCESS;
}
To me this is much neater which is why I want to change it.
main<c-space>
into something closer to what you are looking for, and if not, this time I'll know how to overridecpp/main
snippet.