nvim_runtime_lua

lsp.TextDocumentSyncKind

(alias) lsp.TextDocumentSyncKind =
| 0 # None
| 1 # Full
| 2 # Incremental

Defines how the host (editor) should sync document changes to the language server.