nvim_runtime_lua

lsp.NotebookCellTextDocumentFilter

A notebook cell text document filter denotes a cell text document by different properties.

Fields2

NotebookCellTextDocumentFilter.notebook : string | lsp.NotebookDocumentFilter

A filter that matches against the notebook containing the notebook cell. If a string value is provided it matches against the notebook type. '*' matches every notebook.

NotebookCellTextDocumentFilter.language : nil | string

A language id like python.

Will be matched against the language id of the notebook cell document. '*' matches every language.