diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-13 10:34:43 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-13 10:34:43 +0000 |
commit | 96e759413d64715c5c6f407c72b5ce1cbba0d8b7 (patch) | |
tree | c5fdf8274a6f2b9b9a8935bb10cc101674da5d30 /crates | |
parent | de717a863560772740732b5e2abc832c32af957b (diff) | |
parent | 9e71ff963696510030b094bfe89e56a6387d74f3 (diff) |
Merge #2815
2815: Report macro calls as functions r=matklad a=kjeremy
Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'crates')
-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, |