Skip to content

Commit

Permalink
Make editorconfig more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
zzam authored and Jarod42 committed Mar 30, 2024
1 parent bcfcd07 commit f91f7db
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,18 @@ insert_final_newline = true
trim_trailing_whitespace = true

# The settings are the same in .clang-format. Keep them in sync.
[*.{c,cpp,h}]
indent_style = tab
indent_size = 4

[*.{nsi,rc}]
indent_style = tab
indent_size = 4

[*.pkg]
[*.{c,cpp,h,nsi,rc,pkg}]
indent_style = tab
indent_size = 4

[CMakeLists.txt]
indent_style = tab
indent_size = 4

[*.glsl]
[*.{glsl,py,sh}]
indent_style = space
indent_size = 4

[*.py]
indent_style = space
indent_size = 4

[*.lua*]
indent_style = space
indent_size = 2

[*.{yml,yaml}]
[*.{lua*,yml,yaml}]
indent_style = space
indent_size = 2

[*.sh]
indent_style = space
indent_size = 4

0 comments on commit f91f7db

Please sign in to comment.