diff options
author | Aleksey Kladov <[email protected]> | 2018-08-11 14:20:37 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-11 14:20:37 +0100 |
commit | 56aa6e20e0279c69e0130905573b1607056cfaf9 (patch) | |
tree | 814d6201390b46f64ea0f9571c6b2fcff52fa016 /crates/server/src | |
parent | fe1fe866f3fd0a7bb542debaae782470f107b7c1 (diff) |
More symbols
Diffstat (limited to 'crates/server/src')
-rw-r--r-- | crates/server/src/handlers.rs | 3 |
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 | } |