# Editor configuration, see https://editorconfig.org

# This is the top-most editorconfig file.
root = true


# General settings
[*]
trim_trailing_whitespace = true
insert_final_newline = true


# Source code
[*.{c,cpp,h,hpp}]
indent_style = space
indent_size = 2


# Trailing spaces matter for markdown files
[*.md]
trim_trailing_whitespace = false
max_line_length = off


# Doxyfiles generated by doxywizard have trailing spaces
[{Doxyfile,doxyfile}]
trim_trailing_whitespace = false


# Tabs matter for makefiles and .gitmodules
[{makefile*,Makefile*,*.mk,*.mak,*.makefile,*.Makefile,GNUmakefile,BSDmakefile,Makevars*,*.gitmodules}]
indent_style = tab
indent_size = 2
