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';
1919import type * as lsp from 'vscode-languageserver-protocol' ;
2020import type { MessageConnection } from 'vscode-ws-jsonrpc' ;
2121
22- import { CompletionItemTag } from './lsp' ;
22+ import { CompletionItemTag , DiagnosticTag } from './lsp' ;
2323import { ILSPLogConsole } from './tokens' ;
2424import { until_ready } from './utils' ;
2525
@@ -426,6 +426,11 @@ export class LSPConnection extends LspWsConnection {
426426 } ,
427427 contextSupport : false
428428 } ,
429+ publishDiagnostics : {
430+ tagSupport : {
431+ valueSet : [ DiagnosticTag . Deprecated , DiagnosticTag . Unnecessary ]
432+ }
433+ } ,
429434 signatureHelp : {
430435 dynamicRegistration : true ,
431436 signatureInformation : {
@@ -448,7 +453,7 @@ export class LSPConnection extends LspWsConnection {
448453 dynamicRegistration : true ,
449454 linkSupport : true
450455 }
451- } as lsp . ClientCapabilities ,
456+ } as lsp . TextDocumentClientCapabilities ,
452457 workspace : {
453458 didChangeConfiguration : {
454459 dynamicRegistration : true
You can’t perform that action at this time.
0 commit comments