diff options
author | Jeremy Kolb <[email protected]> | 2020-01-12 22:22:09 +0000 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2020-01-12 22:22:09 +0000 |
commit | 9e71ff963696510030b094bfe89e56a6387d74f3 (patch) | |
tree | 92c28e40f89bc83a7099f7de350c6c273fb77041 /crates/ra_lsp_server/src/conv.rs | |
parent | a05970da4671bd78457635deefa5ed8a2d24b00c (diff) |
Report macro calls as functions
Diffstat (limited to 'crates/ra_lsp_server/src/conv.rs')
-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 562699b7c..8af74b211 100644 --- a/crates/ra_lsp_server/src/conv.rs +++ b/crates/ra_lsp_server/src/conv.rs | |||
@@ -42,6 +42,7 @@ impl Conv for SyntaxKind { | |||
42 | SyntaxKind::ENUM_DEF => SymbolKind::Enum, | 42 | SyntaxKind::ENUM_DEF => SymbolKind::Enum, |
43 | SyntaxKind::ENUM_VARIANT => SymbolKind::EnumMember, | 43 | SyntaxKind::ENUM_VARIANT => SymbolKind::EnumMember, |
44 | SyntaxKind::TRAIT_DEF => SymbolKind::Interface, | 44 | SyntaxKind::TRAIT_DEF => SymbolKind::Interface, |
45 | SyntaxKind::MACRO_CALL => SymbolKind::Function, | ||
45 | SyntaxKind::MODULE => SymbolKind::Module, | 46 | SyntaxKind::MODULE => SymbolKind::Module, |
46 | SyntaxKind::TYPE_ALIAS_DEF => SymbolKind::TypeParameter, | 47 | SyntaxKind::TYPE_ALIAS_DEF => SymbolKind::TypeParameter, |
47 | SyntaxKind::RECORD_FIELD_DEF => SymbolKind::Field, | 48 | SyntaxKind::RECORD_FIELD_DEF => SymbolKind::Field, |