# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true

# C & CPP: 4 space indentation
[*.{c,h,cc,hpp,cpp}]
indent_style = space
indent_size = 4

# Python: 4 space indentation
[*.py]
indent_style = space
indent_size = 4

# YAML, JSON & Markdown: 2 space indentation
[*.{yml,yaml,json,md}]
indent_style = space
indent_size = 2

# ReST: 3 space indentation for
[*.rst]
indent_style = space
indent_size = 3

# Makefile: Tab indentation (no size specified)
[Makefile]
indent_style = tab
