# Q+ Language — editor and line-ending defaults.
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

# Q+ sources, tests, examples and shell tooling: 4 spaces.
[*.q]
indent_size = 4

[*.sh]
indent_size = 4

[*.py]
indent_size = 4

# Data/config formats: 2 spaces.
[*.{yml,yaml,json}]
indent_size = 2

# Documentation: 2-space list continuation, no hard tabs.
[*.md]
indent_size = 2
trim_trailing_whitespace = false

# Generated/binary artifacts are not edited by hand.
[*.{qbc,elf,vsix,tar.gz,png,jpg,ico}]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
