aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2018-12-24 19:32:39 +0000
committerFlorian Diebold <[email protected]>2018-12-25 14:16:42 +0000
commit4ff161852016c6c15954d6f30bd637834a2b2b68 (patch)
tree7ea2d34a8f58f5a242481e6d6294bef22546fcaf /crates/ra_lsp_server/src
parentb5b68f2094d49cacde6d7f0c49f521a0b25f34bd (diff)
Do name resolution by namespace (types/values)
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/conv.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs
index 051f1f995..af5289311 100644
--- a/crates/ra_lsp_server/src/conv.rs
+++ b/crates/ra_lsp_server/src/conv.rs
@@ -55,6 +55,8 @@ impl Conv for CompletionItemKind {
55 CompletionItemKind::Snippet => Snippet, 55 CompletionItemKind::Snippet => Snippet,
56 CompletionItemKind::Module => Module, 56 CompletionItemKind::Module => Module,
57 CompletionItemKind::Function => Function, 57 CompletionItemKind::Function => Function,
58 CompletionItemKind::Struct => Struct,
59 CompletionItemKind::Enum => Enum,
58 CompletionItemKind::Binding => Variable, 60 CompletionItemKind::Binding => Variable,
59 } 61 }
60 } 62 }