aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/server/src')
-rw-r--r--crates/server/src/conv.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/server/src/conv.rs b/crates/server/src/conv.rs
index 1c31d32fe..3aa255e6a 100644
--- a/crates/server/src/conv.rs
+++ b/crates/server/src/conv.rs
@@ -28,14 +28,14 @@ impl Conv for SyntaxKind {
28 28
29 fn conv(self) -> <Self as Conv>::Output { 29 fn conv(self) -> <Self as Conv>::Output {
30 match self { 30 match self {
31 SyntaxKind::FUNCTION => SymbolKind::Function, 31 SyntaxKind::FN_DEF => SymbolKind::Function,
32 SyntaxKind::STRUCT => SymbolKind::Struct, 32 SyntaxKind::STRUCT_DEF => SymbolKind::Struct,
33 SyntaxKind::ENUM => SymbolKind::Enum, 33 SyntaxKind::ENUM_DEF => SymbolKind::Enum,
34 SyntaxKind::TRAIT => SymbolKind::Interface, 34 SyntaxKind::TRAIT_DEF => SymbolKind::Interface,
35 SyntaxKind::MODULE => SymbolKind::Module, 35 SyntaxKind::MODULE => SymbolKind::Module,
36 SyntaxKind::TYPE_ITEM => SymbolKind::TypeParameter, 36 SyntaxKind::TYPE_DEF => SymbolKind::TypeParameter,
37 SyntaxKind::STATIC_ITEM => SymbolKind::Constant, 37 SyntaxKind::STATIC_DEF => SymbolKind::Constant,
38 SyntaxKind::CONST_ITEM => SymbolKind::Constant, 38 SyntaxKind::CONST_DEF => SymbolKind::Constant,
39 _ => SymbolKind::Variable, 39 _ => SymbolKind::Variable,
40 } 40 }
41 } 41 }