diff options
author | Aleksey Kladov <[email protected]> | 2018-12-28 18:06:08 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-12-28 18:07:47 +0000 |
commit | 11122e29b7ec5bc2e08822deaa6fdf9a1cc8ffca (patch) | |
tree | 741ad2441092616b8bd4e30a865eae9e1ea6d5c7 /crates/ra_lsp_server/src | |
parent | 1a860dba38225a4d3e122eaf49c926479826becf (diff) |
completion for enum variants
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/conv.rs | 1 |
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 3d56ccd97..0d6e62727 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs | |||
@@ -57,6 +57,7 @@ impl Conv for CompletionItemKind { | |||
57 | CompletionItemKind::Function => Function, | 57 | CompletionItemKind::Function => Function, |
58 | CompletionItemKind::Struct => Struct, | 58 | CompletionItemKind::Struct => Struct, |
59 | CompletionItemKind::Enum => Enum, | 59 | CompletionItemKind::Enum => Enum, |
60 | CompletionItemKind::EnumVariant => EnumMember, | ||
60 | CompletionItemKind::Binding => Variable, | 61 | CompletionItemKind::Binding => Variable, |
61 | CompletionItemKind::Field => Field, | 62 | CompletionItemKind::Field => Field, |
62 | } | 63 | } |