Skip to content

Commit

Permalink
Remove unreachable return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
NewOag authored Sep 2, 2024
1 parent a9adf23 commit 0e12e7a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const acceptCompletion: Command = (view: EditorView) => {
Date.now() - cState.open.timestamp < view.state.facet(completionConfig).interactionDelay)
return false
return applyCompletion(view, cState.open.options[cState.open.selected])
return true
}

/// Explicitly start autocompletion.
Expand Down

0 comments on commit 0e12e7a

Please sign in to comment.