Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/gutter.rs')
| -rw-r--r-- | helix-view/src/gutter.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/gutter.rs b/helix-view/src/gutter.rs index 821889b8..f4a57f5f 100644 --- a/helix-view/src/gutter.rs +++ b/helix-view/src/gutter.rs @@ -284,8 +284,9 @@ fn execution_pause_indicator<'doc>( frame .source .as_ref() - .and_then(|source| source.path.as_ref()) + .and_then(|source| source.path.as_deref()) }); + let should_display_for_current_doc = doc.path().is_some() && frame_source_path.unwrap_or(None) == doc.path(); |