On Sun, Oct 21, 2012 at 5:59 PM, John Evans <
jo...@evanswebdesign.co.uk> wrote:
> Wierdly I am just in the process of starting a script that does this sort of thing.
>
>
https://github.com/evanswebdesign/vim_tidy_code
>
> It is in the very very early stages and at the minute I'm just concentrating on PHP. I'm basically going through all my code in all my projects to find things that are wrong that I can use the script to correct.
>
> I've only been using vim for a year of so and git even less than that so I'm still learning various things.
>
> I've not posted it in to the scripts site as yet because it's in such an infant stage.
> John
>
Thanks John. It should be good to follow your work. Perhaps looking at
your code would give me some clue as to what I could do for C/C++.
Yesterday I also found a free package called Artistic Style
(
astyle.sourceforge.net) which does a decent job as a code-formatter.
However the utility of something like vim_tidy_code would still
remain.
Arindam