Add note about preferred tab size

This commit is contained in:
Berke Viktor 2013-05-13 13:38:01 +02:00
parent 83107ee222
commit 7cdfeff204

View File

@ -2,10 +2,10 @@
Just some tips if you're going to help with HexChat code (patches etc): Just some tips if you're going to help with HexChat code (patches etc):
* Use tabs, not spaces, to indent code. * Use tabs, not spaces, to indent and align code.
* Use a tab size of 3 (most editors will let you choose this). * Use a tab size of 4 (most editors will let you choose this).
Type :set ts=3 in vim/gvim. Type :set ts=4 in vim/gvim.
* Try to stick to the same consistant coding style (vertically aligned braces, a space after if, while, functions etc.): * Try to stick to the same consistant coding style (vertically aligned braces, a space after if, while, functions etc.):