aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2020-01-12 22:22:09 +0000
committerJeremy Kolb <[email protected]>2020-01-12 22:22:09 +0000
commit9e71ff963696510030b094bfe89e56a6387d74f3 (patch)
tree92c28e40f89bc83a7099f7de350c6c273fb77041 /crates
parenta05970da4671bd78457635deefa5ed8a2d24b00c (diff)
Report macro calls as functions
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_lsp_server/src/conv.rs1
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,