Detect buffer newline style and honor it when saving
This commit is contained in:
parent
f9bad2d81d
commit
3480b50920
8 changed files with 136 additions and 33 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue