build: Fix .editorconfig to allow spaces in markdown files
When working on patch Ib90c74de1a153b6a01c3 I found that when using Atom or Sublime with editorconfig enabled, a line break after `* foo\n bar` in a markdown file would often produce a tab instead of two spaces for the third line. Change-Id: I0ace4e675a20020a362ac3f29f8c1d8f61a99e1c
This commit is contained in:
parent
a368468fc1
commit
fc7e0717ab
1 changed files with 5 additions and 1 deletions
|
|
@ -9,10 +9,14 @@ charset = utf-8
|
|||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# Ensure text editors don't turn leading spaces into tabs,
|
||||
# e.g. in multi-line bullet list items
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Tabs may not be valid YAML
|
||||
# @see https://yaml.org/spec/1.2/spec.html#id2777534
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue