File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
src/PowerShellEditorServices.Protocol/LanguageServer Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,19 @@ public class DidSaveTextDocumentParams
211211 public class DidChangeTextDocumentNotification
212212 {
213213 public static readonly
214- NotificationType < DidChangeTextDocumentParams , object > Type =
215- NotificationType < DidChangeTextDocumentParams , object > . Create ( "textDocument/didChange" ) ;
214+ NotificationType < DidChangeTextDocumentParams , TextDocumentChangeRegistrationOptions > Type =
215+ NotificationType < DidChangeTextDocumentParams , TextDocumentChangeRegistrationOptions > . Create ( "textDocument/didChange" ) ;
216+ }
217+
218+ /// <summary>
219+ /// Describe options to be used when registered for text document change events.
220+ /// </summary>
221+ public class TextDocumentChangeRegistrationOptions : TextDocumentRegistrationOptions
222+ {
223+ /// <summary>
224+ /// How documents are synced to the server.
225+ /// </summary>
226+ public TextDocumentSyncKind SyncKind { get ; set ; }
216227 }
217228
218229 /// <summary>
You can’t perform that action at this time.
0 commit comments