On Sunday, June 2, 2013 12:24:11 AM UTC-5, MarcWeber wrote:
> ZyX told me that I should try to write the way the source code looks.
> 
> 
> 
> Now I find that files mix tab with spaces etc.
> 
> 
> 
> The src/README.txt talks about many things, but not about how to
> 
> configure Vim to write Vim's .c code.
> 
> 
> 
> Would you mind adding a section or a reference to a .vim file describing
> 
> how to format Vim's C code properly?
> 
> 
> 
> Eg os_unix.c contains a line 1439 like this:
> 
>                                return TRUE;   /* exit! */
> 
> 4 tabs, one space, then "return TRUE"
> 
> 
> 
> If you want contributors to do the right thing document it briefly.
> 

I think it's just:

  :set sts=4 sw=4 ts=8

It throws me, too. I don't like it.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui