aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/conv.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs
index 5c8b3c194..35c679a4a 100644
--- a/crates/ra_lsp_server/src/conv.rs
+++ b/crates/ra_lsp_server/src/conv.rs
@@ -75,6 +75,7 @@ impl Conv for CompletionItem {
75 fn conv(self) -> <Self as Conv>::Output { 75 fn conv(self) -> <Self as Conv>::Output {
76 let mut res = ::languageserver_types::CompletionItem { 76 let mut res = ::languageserver_types::CompletionItem {
77 label: self.label().to_string(), 77 label: self.label().to_string(),
78 detail: self.detail().map(|it| it.to_string()),
78 filter_text: Some(self.lookup().to_string()), 79 filter_text: Some(self.lookup().to_string()),
79 kind: self.kind().map(|it| it.conv()), 80 kind: self.kind().map(|it| it.conv()),
80 ..Default::default() 81 ..Default::default()