root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# GDScript требует табов для отступов.
[*.{gd,gdshader}]
indent_style = tab
indent_size = 4

# Сцены и ресурсы Godot редактирует сам — не трогаем пробелы.
[*.{tscn,tres,godot,import,uid}]
trim_trailing_whitespace = false
insert_final_newline = false

[*.{md,yml,yaml,json}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
