nvim_runtime_lua

lsp.NotebookDocument

A notebook document.

Fields5

NotebookDocument.uri : lsp.URI

The notebook document's uri.

NotebookDocument.notebookType : string

The type of the notebook.

NotebookDocument.version : integer

The version number of this document (it will increase after each change, including undo/redo).

NotebookDocument.metadata : lsp.LSPObject | nil

Additional metadata stored with the notebook document.

Note: should always be an object literal (e.g. LSPObject)

NotebookDocument.cells : lsp.NotebookCell[]

The cells of a notebook.