Closed xueerli closed 9 months ago
Hey @xueerli, thanks for reporting. Although the LSP docs are not so clear about it, taking a look at the Python implementation of the protocol, I think you're right:
@smacke, could you take a look at this one? Thanks!
Looks like a bug; https://github.com/python-lsp/python-lsp-server/pull/454 should fix.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#notebookDocumentSyncOptions
The notebookSelector should be an array type. But now the object is returned.![image](https://github.com/python-lsp/python-lsp-server/assets/35445052/77c8f038-45ed-4c0c-a9c5-59940a399e8d)