We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
last_token
1 parent 9e243c1 commit fcdb20aCopy full SHA for fcdb20a
packages/jupyterlab-lsp/src/features/highlights.ts
@@ -167,7 +167,10 @@ export class HighlightsCM extends CodeMirrorIntegration {
167
// request the highlights as soon as possible
168
this.debounced_get_highlight.invoke(),
169
// and in the meantime remove the old markers
170
- async () => this.clear_markers()
+ async () => {
171
+ this.clear_markers();
172
+ this.last_token = null;
173
+ }
174
])
175
.then(([highlights]) => {
176
// in the time the response returned the document might have been closed - check that
0 commit comments