File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/jupyterlab-lsp/src Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import type * as rpc from 'vscode-jsonrpc';
19
19
import type * as lsp from 'vscode-languageserver-protocol' ;
20
20
import type { MessageConnection } from 'vscode-ws-jsonrpc' ;
21
21
22
- import { CompletionItemTag } from './lsp' ;
22
+ import { CompletionItemTag , DiagnosticTag } from './lsp' ;
23
23
import { ILSPLogConsole } from './tokens' ;
24
24
import { until_ready } from './utils' ;
25
25
@@ -426,6 +426,11 @@ export class LSPConnection extends LspWsConnection {
426
426
} ,
427
427
contextSupport : false
428
428
} ,
429
+ publishDiagnostics : {
430
+ tagSupport : {
431
+ valueSet : [ DiagnosticTag . Deprecated , DiagnosticTag . Unnecessary ]
432
+ }
433
+ } ,
429
434
signatureHelp : {
430
435
dynamicRegistration : true ,
431
436
signatureInformation : {
@@ -448,7 +453,7 @@ export class LSPConnection extends LspWsConnection {
448
453
dynamicRegistration : true ,
449
454
linkSupport : true
450
455
}
451
- } as lsp . ClientCapabilities ,
456
+ } as lsp . TextDocumentClientCapabilities ,
452
457
workspace : {
453
458
didChangeConfiguration : {
454
459
dynamicRegistration : true
You can’t perform that action at this time.
0 commit comments