diff options
author | Naïm Favier <n@monade.li> | 2022-12-29 01:30:25 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-12-29 01:30:25 +0100 |
commit | e98047818ecfa327aebc82733fd96800b0d344cb (patch) | |
tree | aed4904249f441dcb1e4b35390453c414d62b88b /.editorconfig | |
parent | fbc4d64b50e3c7879ddd506b72551b40df7209d4 (diff) |
.editorconfig: disallow trailing whitespace for markdown again
Although trailing whitespace is significant, there's no good reason to use that feature.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig index a4f216d71a22d..3ff05f9a7fa0a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -55,10 +55,13 @@ trim_trailing_whitespace = unset [*.lock] indent_size = unset -# trailing whitespace is an actual syntax element of classic Markdown/ -# CommonMark to enforce a line break +# Although Markdown/CommonMark allows using two trailing spaces to denote +# a hard line break, we do not use that feature in nixpkgs since +# it forces the surrounding paragraph to become a <literallayout> which +# does not wrap reasonably. +# Instead of a hard line break, start a new paragraph by inserting a blank line. [*.md] -trim_trailing_whitespace = unset +trim_trailing_whitespace = true # binaries [*.nib] |