Ancurio / mkxp

Free Software implementation of the Ruby Game Scripting System (RGSS)
GNU General Public License v2.0
532 stars 140 forks source link

Add .editorconfig to the project #228

Closed Cloudef closed 4 years ago

Cloudef commented 4 years ago

Usually C/C++ projects use spaces, so this should override people's space settings assuming they have editorconfig compatible editor or plugin installed.

Ancurio commented 4 years ago

Which IDE is this for?

Cloudef commented 4 years ago

I used this with vim myself. Editorconfig is available widely for all sorts of editors. https://editorconfig.org/

carstene1ns commented 4 years ago

Might want to add some files with specific settings (markdown for example)

Ancurio commented 4 years ago

Accidentally commented from 2nd account, oops :^)

Edit: Original message read: I'm not sure the indent-size is needed since tabs can be changed to be arbitrarily long, but otherwise lgtm. I want to point out that tabs are only for scope-level indentation; aligning multiple lines within the same scope should still be done via spaces.