Skip to content

Commit

Permalink
Ye, tabs be gone!
Browse files Browse the repository at this point in the history
It appears that most of our non-C++/Lua source files are using spaces for
indentation, (except Makefile.am). Added rules to accommodate that, and fix
wrong indentation in Changelog.txt when using github editor.
  • Loading branch information
impaktor committed Nov 7, 2016
1 parent b57d94a commit a99201b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,17 @@ root = true

# all files, globally use these rules:
[*]
indent_style = tab
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

# but definitly tabs for:
[*.{cpp,h,lua,am}]
indent_style = tab

# we apparently use spaces for:
[*.{json,txt,md,yml}]
indent_style = space

0 comments on commit a99201b

Please sign in to comment.