aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-11 18:02:12 +0000
committerAleksey Kladov <[email protected]>2019-01-11 18:02:12 +0000
commitf193fbcbae0783953cfaa88aaec6a8d4e1255007 (patch)
treec57734dc82350c2d853f557a40f7aafdc7470bdf /crates/ra_lsp_server/src
parent19136cde000c2c227e79bf44febde990fe265cb7 (diff)
actually produce missing def kinds
Diffstat (limited to 'crates/ra_lsp_server/src')
-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}