mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-23 07:32:20 +00:00
f409fcc772
An editorconfig's asterix section applies to the whole file tree, including the .git folder. The Git commit message dialog is a temporary file named .git/COMMIT_EDITMSG, which the editorconfig applies to. To avoid having the line length of commit messages changed to 100 chars, add a rule to specifically unset the max_line_length for the .git folder.
18 lines
249 B
INI
18 lines
249 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
indent_style = tab
|
|
indent_size = 4
|
|
max_line_length = 100
|
|
|
|
[/.git/**]
|
|
max_line_length = unset
|
|
|
|
[*.xml]
|
|
indent_style = space
|
|
indent_size = 2
|