2021-01-21 19:32:33 +03:00
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Defaults for every file
|
|
|
|
[*]
|
2021-01-16 10:35:59 +03:00
|
|
|
end_of_line = lf
|
|
|
|
insert_final_newline = true
|
2021-01-21 19:32:33 +03:00
|
|
|
trim_trailing_whitespace = true
|
2021-01-16 10:35:59 +03:00
|
|
|
charset = utf-8
|
2021-01-21 19:32:33 +03:00
|
|
|
|
|
|
|
# Idris source files
|
2021-04-06 17:42:04 +03:00
|
|
|
[*.{idr,ipkg,tex,yaff,lidr}]
|
2021-01-21 19:32:33 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
# Various configuration files
|
2021-04-06 17:42:04 +03:00
|
|
|
[{*.yml,.ecrc}]
|
2021-01-21 19:32:33 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[*.py]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
2021-04-06 17:42:04 +03:00
|
|
|
[*.{c,h}]
|
2021-01-21 19:32:33 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[*.{md,rst}]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 2
|
|
|
|
|
2021-04-06 17:42:04 +03:00
|
|
|
[*.sh]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
shell_variant = posix
|
|
|
|
switch_case_indent = true
|
|
|
|
|
|
|
|
[*.bat]
|
2021-01-21 19:32:33 +03:00
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
[{Makefile,*.mk}]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
[*.nix]
|
2021-01-16 10:35:59 +03:00
|
|
|
indent_style = space
|
2021-01-21 02:36:01 +03:00
|
|
|
indent_size = 2
|
2021-02-03 00:37:33 +03:00
|
|
|
|
|
|
|
[expected]
|
|
|
|
trim_trailing_whitespace = false
|