Skip to content

Commit 411f91b

Browse files
committed
Remove the highlight when hovering over empty space
1 parent 67abb1e commit 411f91b

File tree

1 file changed

+1
-0
lines changed
  • packages/jupyterlab-lsp/src/features

1 file changed

+1
-0
lines changed

packages/jupyterlab-lsp/src/features/hover.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ export class HoverCM extends CodeMirrorIntegration {
322322

323323
// if over an empty space in a line (and not over a token) then not worth checking
324324
if (target.classList.contains('CodeMirror-line')) {
325+
this.remove_range_highlight();
325326
return;
326327
}
327328

0 commit comments

Comments
 (0)