mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-12 10:48:39 +03:00

Xcode 16 introduces support for EditorConfig-based editor settings. Many other editors also support EditorConfig. In particular, this enables trailing whitespace trimming for Swift source files.
15 lines
200 B
INI
15 lines
200 B
INI
root = true
|
|
|
|
[*.{sh,bash}]
|
|
indent_size = 2
|
|
indent_style = space
|
|
|
|
[bash-preexec.sh]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[*.swift]
|
|
indent_size = 4
|
|
indent_style = space
|
|
trim_trailing_whitespace = true
|