ghostty/.editorconfig
Jon Parise fe5fb60374 editorconfig: add swift style
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.
2024-08-23 14:16:09 -04:00

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