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
|
@ -9,7 +9,7 @@ use rpc::proto;
|
|||
use std::{ops::Range, sync::Arc};
|
||||
use text::*;
|
||||
|
||||
pub use proto::{Buffer, BufferState, SelectionSet};
|
||||
pub use proto::{Buffer, BufferState, NewlineStyle, SelectionSet};
|
||||
|
||||
pub fn serialize_operation(operation: &Operation) -> proto::Operation {
|
||||
proto::Operation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue