aboutsummaryrefslogtreecommitdiff
path: root/crates/server
diff options
context:
space:
mode:
Diffstat (limited to 'crates/server')
-rw-r--r--crates/server/src/handlers.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/server/src/handlers.rs b/crates/server/src/handlers.rs
index 51e940ef7..f6f960d22 100644
--- a/crates/server/src/handlers.rs
+++ b/crates/server/src/handlers.rs
@@ -74,6 +74,9 @@ fn to_symbol_kind(kind: SyntaxKind) -> SymbolKind {
74 SyntaxKind::ENUM => SymbolKind::Enum, 74 SyntaxKind::ENUM => SymbolKind::Enum,
75 SyntaxKind::TRAIT => SymbolKind::Interface, 75 SyntaxKind::TRAIT => SymbolKind::Interface,
76 SyntaxKind::MODULE => SymbolKind::Module, 76 SyntaxKind::MODULE => SymbolKind::Module,
77 SyntaxKind::TYPE_ITEM => SymbolKind::TypeParameter,
78 SyntaxKind::STATIC_ITEM => SymbolKind::Constant,
79 SyntaxKind::CONST_ITEM => SymbolKind::Constant,
77 _ => SymbolKind::Variable, 80 _ => SymbolKind::Variable,
78 } 81 }
79} 82}