mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-05 18:52:39 +01: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):
|
||||
|
||||
* 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).
|
||||
Type :set ts=3 in vim/gvim.
|
||||
* Use a tab size of 4 (most editors will let you choose this).
|
||||
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.):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user