nvim_runtime_lua

lsp.WillSaveTextDocumentParams

The parameters sent in a will save text document notification.

Fields2

WillSaveTextDocumentParams.textDocument : lsp.TextDocumentIdentifier

The document that will be saved.

WillSaveTextDocumentParams.reason : lsp.TextDocumentSaveReason

The 'TextDocumentSaveReason'.