You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a TextDocumentChangeRegistrationOptions with the code
let textDocumentChangeRegistrationOptions = TextDocumentChangeRegistrationOptions{document_selector:None,sync_kind:1,};
However, I would want to use TextDocumentSyncKind::FULL instead of '1' for the sync_kind parameter, but no method exists to cast it to an i32, and the inner variable of struct TextDocumentSyncKind is private.
Do I miss something, or the enum TextDocumentSyncKind can't work with this registration option?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to create a TextDocumentChangeRegistrationOptions with the code
However, I would want to use TextDocumentSyncKind::FULL instead of '1' for the sync_kind parameter, but no method exists to cast it to an i32, and the inner variable of struct TextDocumentSyncKind is private.
Do I miss something, or the enum TextDocumentSyncKind can't work with this registration option?
The text was updated successfully, but these errors were encountered: