DocumentSyncMode

constructor(openClose: Boolean, change: TextDocumentSyncKind)

Parameters

openClose

Whether textDocument/didOpen and textDocument/didClose notifications should be sent.

change

How content changes are synced (TextDocumentSyncKind.NONE, TextDocumentSyncKind.FULL, or TextDocumentSyncKind.INCREMENTAL).