# Copyright 2025 Shota FUJI
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#
# SPDX-License-Identifier: MPL-2.0

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
spelling_language = en-US
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
# Two trailing spaces represents a line break.
trim_trailing_whitespace = false

[*.nix]
# Nix can't handle tab character inside string interpolation.
indent_style = space
indent_size = 2

[*.{zig,zon}]
# Zig can't handle tab character.
indent_style = space
indent_size = 4
