aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-04-10 19:13:44 +0200
committerNRK <nrk@disroot.org>2023-04-10 19:13:44 +0200
commit4df97db1cd566fab1ed927986e40cc4542e937c5 (patch)
treefaa09dacd165b990270f20b3b3965e407b0fce0d
parent54bfc5db042960a196e8aa291971160d36bd80f2 (diff)
downloadnsxiv-4df97db1cd566fab1ed927986e40cc4542e937c5.tar.zst
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>
-rw-r--r--.editorconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index cbc0f4b..bec9606 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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