editorconfig: only apply to .c and .h files (#433)

otherwise, it ends up applying to the manpage and git commit messages
too.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/433
Reviewed-by: eylles <eylles@noreply.codeberg.org>
Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
This commit is contained in:
NRK 2023-04-10 17:13:44 +00:00
parent 54bfc5db04
commit 4df97db1cd
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
# See this if your editor doesn't have built-in editorconfig support:
# https://editorconfig.org/#download
# apply to all files
[*]
# apply to all .c and .h files
[*.{c,h}]
# top-most EditorConfig file
root = true