completion: use Text for Macro{Instantiation,Definition}

This commit is contained in:
Fangrui Song 2018-11-30 10:11:14 -08:00
parent 58f6f6048f
commit bddd8d1209

View File

@ -252,7 +252,7 @@ CompletionItemKind GetCompletionKind(CXCursorKind cursor_kind) {
case CXCursor_MacroInstantiation: case CXCursor_MacroInstantiation:
case CXCursor_MacroDefinition: case CXCursor_MacroDefinition:
return CompletionItemKind::Interface; return CompletionItemKind::Text;
case CXCursor_Namespace: case CXCursor_Namespace:
case CXCursor_NamespaceAlias: case CXCursor_NamespaceAlias: