Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Formatting #19

Open
pi-pi3 opened this issue Sep 16, 2017 · 1 comment
Open

Formatting #19

pi-pi3 opened this issue Sep 16, 2017 · 1 comment
Assignees

Comments

@pi-pi3
Copy link
Collaborator

pi-pi3 commented Sep 16, 2017

Different contributors and collaborators use different formatting style. I'm mainly talking about spaces and tabs. I believe @egordorichev originally used tabs, so this is a note for everyone: use tabs when developing neko8. If you use vim, you can do :set noet to write tabs instead of 4 (or 2) spaces.
Here's a quote from @egordorichev about formatting.

2 spaces for tab, but use tabs!! If you can, keep your lines shorter then 42 80 chars

So if line doesn't fit, (...) [do this:]

function toLongFunctions(
	arg, arg2
)
	body
end
@pi-pi3 pi-pi3 self-assigned this Sep 16, 2017
pi-pi3 added a commit that referenced this issue Sep 16, 2017
Fix formatting, as described in issue #19
@pi-pi3
Copy link
Collaborator Author

pi-pi3 commented Sep 16, 2017

Formatting was fixed in existing code, but please do follow the guidelines. They're now also in README.md.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants