Teemu Likonen 写道: > 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.
That is not going to work for someone who insists hard tabs should be used in source code. Since gnu indent never use hard tabs at all. For me it works just perfect, since our project forbids use of hard tabs in source code at all. (Makefile is the only exception, but we use cmake and we never write Makefile ourselves.) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
