mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 09:12:22 -05:00
Add note about preferred tab size
This commit is contained in:
parent
83107ee222
commit
7cdfeff204
@ -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.):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user