Add .editorconfig file to fix tab width on GitHub.

This commit is contained in:
Kyle Neideck 2017-12-27 15:22:17 +11:00
parent b3b60559f2
commit b693a8af1e
No known key found for this signature in database
GPG key ID: CAA8D9B8E39EC18C

15
.editorconfig Normal file
View file

@ -0,0 +1,15 @@
# This file was added to get GitHub to display our source code correctly when
# it has mixed tabs and spaces. (I didn't realise the sample code BGMDriver is
# based on used tabs and it's too late to fix it now.)
#
# See http://editorconfig.org.
# This is the top-most .editorconfig file.
root = true
# Set tabs to the width of 4 spaces in C, C++, Objective-C and Objective-C++
# source files.
[*.{h,c,cpp,m,mm}]
tab_width = 4