# About this file, see:
#   Website: https://editorconfig.org/
#   For Emacs users: https://github.com/editorconfig/editorconfig-emacs
#   For Vim users: https://github.com/editorconfig/editorconfig-vim

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 8
indent_style = tab
insert_final_newline = true
tab_width = 8

[{Makefile,Makefile.*,makefile,*.mk}]
trim_trailing_whitespace = true
#max_line_length = 80

[*.{c,cc,C,cxx,cpp,h,hh,H,hxx,hpp,inc,y}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
#max_line_length = 120

[{*.rb,Rakefile,rakefile,*.rake,*.gemspec,*.gembox}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
#max_line_length = 120

# limitation to US-ASCII
[*.bat]
end_of_line = crlf
indent_style = space
#max_line_length = 80

[*.{yaml,yml}]
indent_size = 2
indent_style = space

[*.md]
indent_size = 2
indent_style = space
