mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
17 lines
317 B
INI
17 lines
317 B
INI
[*]
|
|
charset = utf-8
|
|
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,adoc},config.mak.*,Makefile}]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|