nvim_runtime_lua

lsp.DidSaveTextDocumentParams

The parameters sent in a save text document notification

Fields2

DidSaveTextDocumentParams.textDocument : lsp.TextDocumentIdentifier

The document that was saved.

DidSaveTextDocumentParams.text : nil | string

Optional the content when saved. Depends on the includeText value when the save notification was requested.