mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-09-28 20:23:36 +00:00
Setup editorconfig
This commit is contained in:
parent
ff8814a703
commit
50b4357645
39
.editorconfig
Normal file
39
.editorconfig
Normal file
|
@ -0,0 +1,39 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.vala]
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
max_line_length = 100
|
||||
|
||||
[*.{c,h}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
max_line_length = 100
|
||||
|
||||
[*.css]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.{ui,xml,xml.in}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[meson.build]
|
||||
indent_size = 2
|
||||
indent_style = space
|
Loading…
Reference in a new issue