# 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

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

# Perl files 
[*.pl]
indent_style = space

[*.md]
indent_style = space
indent_size = 2

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

# pg_regress fixtures encode psql's exact aligned-mode output, including
# header trailing spaces; stripping them makes installcheck fail
[test/expected/*.out]
trim_trailing_whitespace = false
