diff options
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/ui/editor.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index ff3c70cf..31a19649 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -94,7 +94,6 @@ impl EditorView { Some(syntax) => { syntax .highlight_iter(text.slice(..), Some(range), None, |_| None) - .unwrap() .collect() // TODO: we collect here to avoid holding the lock, fix later } None => vec![Ok(HighlightEvent::Source { |