]> Kevux Git Server - rit/commitdiff
editorconfig: add .adoc extension
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 20 Jan 2025 01:56:00 +0000 (01:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2025 20:56:05 +0000 (12:56 -0800)
The .adoc extension is commonly used for AsciiDoc files.  In a future
commit, we'll update some files to switch from the .txt extension to the
.adoc extension, so update the EditorConfig file to use the same
configuration for both extensions, since we want the files to be
formatted completely identically whether they're using the older or
newer extension.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.editorconfig

index 15d6cbe..a3c578a 100644 (file)
@@ -4,7 +4,7 @@ insert_final_newline = true
 
 # The settings for C (*.c and *.h) files are mirrored in .clang-format.  Keep
 # them in sync.
-[{*.{c,h,sh,perl,pl,pm,txt},config.mak.*,Makefile}]
+[{*.{c,h,sh,perl,pl,pm,txt,adoc},config.mak.*,Makefile}]
 indent_style = tab
 tab_width = 8