From e7932fa9c2591c45a37a24305de90cb63128afcf Mon Sep 17 00:00:00 2001 From: Aaron Loucks Date: Sun, 29 Jul 2018 17:02:32 -0400 Subject: [PATCH] Updating newline_style documentation --- Configurations.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Configurations.md b/Configurations.md index 4c621e7b5d20..ab91f11be04e 100644 --- a/Configurations.md +++ b/Configurations.md @@ -1342,6 +1342,25 @@ Unix or Windows line endings - **Possible values**: `"Auto"`, `"Native"`, `"Unix"`, `"Windows"` - **Stable**: Yes +#### `Auto` (default): + +The newline style is detected automatically on a per-file basis. Files +with mixed line endings will be converted to the first detected line +ending style. + +#### `Native` + +Line endings will be converted to `\r\n` on Windows and `\n` on all +other platforms. + +#### `Unix` + +Line endings will be converted to `\n`. + +#### `Windows` + +Line endings will be converted to `\r\n`. + ## `normalize_comments` Convert /* */ comments to // comments where possible