mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-12 10:48:39 +03:00
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.
This commit is contained in:
@ -7,3 +7,8 @@ indent_style = space
|
|||||||
[bash-preexec.sh]
|
[bash-preexec.sh]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
|
[*.swift]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
Reference in New Issue
Block a user