editor: Avoid trigger hover on selection. (#1287)
This commit is contained in:
parent
8f5bff61fb
commit
16105da122
1 changed files with 4 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ impl InputState {
|
|||
window: &mut Window,
|
||||
cx: &mut Context<InputState>,
|
||||
) {
|
||||
if self.selecting {
|
||||
return;
|
||||
}
|
||||
|
||||
let Some(provider) = self.lsp.hover_provider.clone() else {
|
||||
return;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue