nvim_runtime_lua

lsp.TextDocumentItem

An item to transfer a text document from the client to the server.

Fields4

TextDocumentItem.uri : lsp.DocumentUri

The text document's uri.

TextDocumentItem.languageId : lsp.LanguageKind

The text document's language identifier.

TextDocumentItem.version : integer

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

TextDocumentItem.text : string

The content of the opened text document.