mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-12 10:48:39 +03:00
editorconfig: indent styles for shell scripts
We're consistently using 2-space indentation in our shell scripts with the exception of bash-prefix.sh, which is a vendored script uses 4-space indentation (https://github.com/rcaloras/bash-preexec). Add editorconfig rules to help maintain this consistency going forward.
This commit is contained in:
9
.editorconfig
Normal file
9
.editorconfig
Normal file
@ -0,0 +1,9 @@
|
||||
root = true
|
||||
|
||||
[*.{sh,bash}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[bash-preexec.sh]
|
||||
indent_size = 4
|
||||
indent_style = space
|
Reference in New Issue
Block a user