From b4a282fd360a6cd8a03f7b1d784dafe5bc4c8abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Wed, 16 Mar 2022 17:56:53 +0900 Subject: [PATCH] Configure ropey to only use CR/CRLF line breaks by default Fixes #1643 --- helix-core/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 3e5aabaaa..2c557a0e4 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -11,12 +11,13 @@ homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] [features] +unicode-lines = ["ropey/unicode_lines"] [dependencies] helix-loader = { version = "0.6", path = "../helix-loader" } # ropey = "1.3" -ropey = { git = "https://github.com/cessen/ropey" } +ropey = { git = "https://github.com/cessen/ropey", default-features = false, features = ["cr_lines"] } smallvec = "1.8" smartstring = "1.0.0" unicode-segmentation = "1.9"