aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-11 18:08:00 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-11 18:08:00 +0000
commit738c958a044361dc84a0f27e57b40f66a5815990 (patch)
treec57734dc82350c2d853f557a40f7aafdc7470bdf /crates/ra_lsp_server
parent2d3940d0ab862dbfaed4f4c844faaca6a38e31e9 (diff)
parentf193fbcbae0783953cfaa88aaec6a8d4e1255007 (diff)
Merge #498
498: actually produce missing def kinds r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r--crates/ra_lsp_server/src/conv.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/conv.rs b/crates/ra_lsp_server/src/conv.rs
index 76fa98cbe..7ca2f437d 100644
--- a/crates/ra_lsp_server/src/conv.rs
+++ b/crates/ra_lsp_server/src/conv.rs
@@ -65,6 +65,10 @@ impl Conv for CompletionItemKind {
65 CompletionItemKind::EnumVariant => EnumMember, 65 CompletionItemKind::EnumVariant => EnumMember,
66 CompletionItemKind::Binding => Variable, 66 CompletionItemKind::Binding => Variable,
67 CompletionItemKind::Field => Field, 67 CompletionItemKind::Field => Field,
68 CompletionItemKind::Trait => Interface,
69 CompletionItemKind::TypeAlias => Struct,
70 CompletionItemKind::Const => Constant,
71 CompletionItemKind::Static => Value,
68 } 72 }
69 } 73 }
70} 74}