editorconfig: add .adoc extension

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>
maint
brian m. carlson 2025-01-20 01:56:00 +00:00 committed by Junio C Hamano
parent 89cdbffa86
commit 97343c8c2f
1 changed files with 1 additions and 1 deletions

View 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