mirror of
https://github.com/vim/vim.git
synced 2026-09-27 12:02:22 +02:00
The text after "Problem:" and "Solution:" are aligned using spaces. closes: #20519 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
50 lines
1.0 KiB
INI
50 lines
1.0 KiB
INI
# https://spec.editorconfig.org/#supported-pairs
|
|
root = true
|
|
|
|
[*]
|
|
indent_style = tab
|
|
tab_width = 8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{c,h,proto}]
|
|
indent_size = 4
|
|
|
|
[*.{md,yml,sh,bat}]
|
|
# This will become the default after we migrate the codebase
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.md]
|
|
# Markdown uses trailing whitespaces to do an hard line break
|
|
# https://spec.commonmark.org/0.31.2/#hard-line-breaks
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.vim]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[runtime/pack/dist/opt/{comment,nohlsearch}/**.vim]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[runtime/doc/**.txt]
|
|
# It can mess up some documentation by trying to strip trailing whitespaces
|
|
trim_trailing_whitespace = false
|
|
|
|
[src/testdir/test*.vim]
|
|
# Some tests need trailing whitespaces, for example `set showbreak=>>\ `
|
|
trim_trailing_whitespace = false
|
|
|
|
#
|
|
# Some custom files and git commit message do not use tabs
|
|
#
|
|
[src/sign.c]
|
|
indent_style = space
|
|
|
|
[src/sound.c]
|
|
indent_style = space
|
|
|
|
[.git/COMMIT_EDITMSG]
|
|
indent_style = space
|