Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/handlers/signature_help.rs')
| -rw-r--r-- | helix-term/src/handlers/signature_help.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-term/src/handlers/signature_help.rs b/helix-term/src/handlers/signature_help.rs index 8a0c9754..ad47b645 100644 --- a/helix-term/src/handlers/signature_help.rs +++ b/helix-term/src/handlers/signature_help.rs @@ -336,10 +336,8 @@ pub(super) fn register_hooks(handlers: &Handlers) { compositor.remove(SignatureHelp::ID); })); } - (_, Mode::Insert) => { - if event.cx.editor.config().lsp.auto_signature_help { - send_blocking(&tx, SignatureHelpEvent::Trigger); - } + (_, Mode::Insert) if event.cx.editor.config().lsp.auto_signature_help => { + send_blocking(&tx, SignatureHelpEvent::Trigger); } _ => (), } |