@@ -128,6 +128,9 @@ pub use document_link::*;
128
128
mod document_symbols;
129
129
pub use document_symbols:: * ;
130
130
131
+ mod notebook;
132
+ pub use notebook:: * ;
133
+
131
134
mod file_operations;
132
135
pub use file_operations:: * ;
133
136
@@ -1469,6 +1472,12 @@ pub struct ClientCapabilities {
1469
1472
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1470
1473
pub text_document : Option < TextDocumentClientCapabilities > ,
1471
1474
1475
+ /// Capabilities specific to the notebook document support.
1476
+ ///
1477
+ /// @since 3.17.0
1478
+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
1479
+ pub notebook_document : Option < NotebookDocumentClientCapabilities > ,
1480
+
1472
1481
/// Window specific client capabilities.
1473
1482
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1474
1483
pub window : Option < WindowClientCapabilities > ,
@@ -1785,6 +1794,13 @@ pub struct ServerCapabilities {
1785
1794
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1786
1795
pub text_document_sync : Option < TextDocumentSyncCapability > ,
1787
1796
1797
+ /// Defines how notebook documents are synced.
1798
+ ///
1799
+ /// @since 3.17.0
1800
+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
1801
+ pub notebook_document_sync :
1802
+ Option < OneOf < NotebookDocumentSyncOptions , NotebookDocumentSyncRegistrationOptions > > ,
1803
+
1788
1804
/// Capabilities specific to `textDocument/selectionRange` requests.
1789
1805
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1790
1806
pub selection_range_provider : Option < SelectionRangeProviderCapability > ,
0 commit comments