Skip to content

Commit 7083511

Browse files
restore current functionality
1 parent 6da07eb commit 7083511

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/rust-analyzer/src/lsp/capabilities.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,8 @@ impl ClientCapabilities {
456456
}
457457

458458
pub fn workspace_snippet_cap(&self) -> Option<WorkspaceSnippetCap> {
459-
None
459+
WorkspaceSnippetCap::new(self.experimental_bool("snippetTextEdit"))
460+
// switch when updating to lsp-types 0.98, assuming the feature lands
460461
// self.0
461462
// .workspace
462463
// .as_ref()?

0 commit comments

Comments
 (0)