nvim_runtime_lua

lsp.TextEdit

A text edit applicable to a text document.

Fields2

TextEdit.range : lsp.Range

The range of the text document to be manipulated. To insert text into a document create a range where start === end.

TextEdit.newText : string

The string to be inserted. For delete operations use an empty string.