mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-30 19:57:45 +00:00
Add editorconfig file
This is supported by many editors and an easy way to ensure consistent indentation.
This commit is contained in:
committed by
Jussi Pakkanen
parent
d8cd194214
commit
07a53eeebb
25
.editorconfig
Normal file
25
.editorconfig
Normal file
@@ -0,0 +1,25 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
|
||||
[*.[ch]]
|
||||
indent_size = 4
|
||||
|
||||
[*.cpp]
|
||||
indent_size = 4
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
||||
[*.vala]
|
||||
indent_size = 4
|
||||
|
||||
[*.xml]
|
||||
indent_size = 2
|
||||
|
||||
[meson.build]
|
||||
indent_size = 2
|
||||
|
||||
Reference in New Issue
Block a user