From 9e71ff963696510030b094bfe89e56a6387d74f3 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sun, 12 Jan 2020 17:22:09 -0500 Subject: Report macro calls as functions --- crates/ra_lsp_server/src/conv.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates') 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 { SyntaxKind::ENUM_DEF => SymbolKind::Enum, SyntaxKind::ENUM_VARIANT => SymbolKind::EnumMember, SyntaxKind::TRAIT_DEF => SymbolKind::Interface, + SyntaxKind::MACRO_CALL => SymbolKind::Function, SyntaxKind::MODULE => SymbolKind::Module, SyntaxKind::TYPE_ALIAS_DEF => SymbolKind::TypeParameter, SyntaxKind::RECORD_FIELD_DEF => SymbolKind::Field, -- cgit v1.2.3