bill lam (2008-12-24 13:28 +0800) wrote:

> On Tue, 23 Dec 2008, Tony Mechelynck wrote:
>> See
>>      :help ftplugins
>>      :help filetype-plugins
>
> I think that OP does not satisfy with these plugins. I would really
> use language specific pretty print program to do that job.

The GNU "indent" utility seems to be full-featured tool for indenting C
code. So if gg=G does not do what user wants then maybe

    :%!indent --preferred-indent-style-and-options

will.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to