Detect buffer newline style and honor it when saving

This commit is contained in:
Antonio Scandurra 2022-07-04 17:25:19 +02:00
parent f9bad2d81d
commit 3480b50920
8 changed files with 136 additions and 33 deletions

View file

@ -810,6 +810,12 @@ message BufferState {
repeated Diagnostic diagnostics = 6;
uint32 diagnostics_timestamp = 7;
repeated string completion_triggers = 8;
NewlineStyle newline_style = 9;
}
enum NewlineStyle {
Unix = 0;
Windows = 1;
}
message SelectionSet {