Make default fileformat value suited to the OS (#3141)

Set fileformat by default to `dos` on Windows.
This commit is contained in:
Dmytro Maluka
2024-03-04 22:20:02 +01:00
committed by GitHub
parent 59dda01cb7
commit af2ec9d540
2 changed files with 10 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ Here are the available options:
an effect if the file is empty/newly created, because otherwise the fileformat
will be automatically detected from the existing line endings.
default value: `unix`
default value: `unix` on Unix systems, `dos` on Windows
* `filetype`: sets the filetype for the current buffer. Set this option to
`off` to completely disable filetype detection.