# http://editorconfig.org

# top-most EditorConfig file
root = true

# these are the defaults
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[NEWS]
indent_style = space
indent_size = 2

[*_expected]
trim_trailing_whitespace = false

# C files want tab indentation
[*.{c,h,h.in}]
indent_style = tab

# Perl files want tab indentation
[*.pl]
indent_style = tab

# SQL files want tab indentation
[*.{sql,sql.in}]
indent_style = tab

# Makefiles want tab indentation
[{Makefile.in,Makefile,GNUmakefile.in}]
indent_style = tab

# .bat files want CRLF
[*.bat]
end_of_line = crlf

# Docbook should be space cause tabs are mangled in html
[*.xml]
indent_style = space
indent_size = 4

[*.xsl]
indent_style = tab
