Index: .editorconfig =================================================================== --- .editorconfig +++ .editorconfig @@ -0,0 +1,30 @@ +# EditorConfig settings for FreeBSD ports tree +# See http://EditorConfig.org for syntax +# $FreeBSD$ + +root = true + +[*] +end_of_line = LF +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +[Makefile] +## Port makefiles +indent_style = tabs +indent_size = 8 + +[Mk/**.{mk,sh}] +## Mk/ infrastructure +indent_style = tabs +indent_size = 4 + +[**/pkg-*] +## pkg-* files: hardwrap at 80 chars +max_line_length = 80 + +[/{UPDATING,CHANGES}] +## UPDATING/CHANGES - tabs become 2 spaces +indent_style = space +indent_size = 2