From c94feed83d746e71fb030639d740af85162b0763 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 8 Nov 2022 21:03:54 +0900 Subject: core: Move state into the history module --- helix-term/src/commands.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'helix-term/src/commands.rs') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index ae9e35f1..31498a7b 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -3465,7 +3465,6 @@ fn paste_impl(values: &[String], doc: &mut Document, view: &mut View, action: Pa .any(|value| get_line_ending_of_str(value).is_some()); // Only compiled once. - #[allow(clippy::trivial_regex)] static REGEX: Lazy = Lazy::new(|| Regex::new(r"\r\n|\r|\n").unwrap()); let mut values = values .iter() -- cgit v1.2.3-70-g09d2