Ancurio / mkxp

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

Add .editorconfig to the project #228

Closed Cloudef closed 3 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 3 years ago

Which IDE is this for?

Cloudef commented 3 years ago

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

carstene1ns commented 3 years ago

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

Ancurio commented 3 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.