on master help sign in
Make new documents empty, rather than starting with a line ending.
commit7961a13007b90840f08390d1ab9822ebbb0740c5 authorNathan Vegdahl <cessen@cessen.com> dateThu 1 Jul 2021, 23:39 (5 years ago) parent22dca3b
1 file changed+1−1
helix-view/src/document.rs+1−1
helix-view/src/document.rs+1−1
@@ -1036,7 +1036,7 @@ impl Document {
10361036
10371037impl Default for Document {
10381038 fn default() -> Self {
1039− let text = Rope::from(DEFAULT_LINE_ENDING.as_str());
1039+ let text = Rope::from("");
10401040 Self::from(text, None)
10411041 }
10421042}