We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da07eb commit 7083511Copy full SHA for 7083511
1 file changed
crates/rust-analyzer/src/lsp/capabilities.rs
@@ -456,7 +456,8 @@ impl ClientCapabilities {
456
}
457
458
pub fn workspace_snippet_cap(&self) -> Option<WorkspaceSnippetCap> {
459
- None
+ WorkspaceSnippetCap::new(self.experimental_bool("snippetTextEdit"))
460
+ // switch when updating to lsp-types 0.98, assuming the feature lands
461
// self.0
462
// .workspace
463
// .as_ref()?
0 commit comments