-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
featureNew feature or requestNew feature or request
Description
This issue was previously discussed in #31
The problem is that the proposed workaround of using "files.insertFinalNewline": true only works when sorting a file using YAML Sort: Sort YAML or one of the YAML Sort: Custom sort options. It does not work with the YAML Sort: Recursively sort all files options.
As a result using YAML Sort: Recursively sort all files leads to a large number of files being flagged as modified by git due to the newline at the end of the file being trimmed.
It would be really useful to have an option to retain the newline.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request