From b9369e055ace4595444bb593731d7aa06eead602 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 30 Nov 2018 10:11:14 -0800 Subject: [PATCH] completion: use Text for Macro{Instantiation,Definition} --- src/messages/textDocument_completion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/textDocument_completion.cc b/src/messages/textDocument_completion.cc index 53e5189e..bce205a7 100644 --- a/src/messages/textDocument_completion.cc +++ b/src/messages/textDocument_completion.cc @@ -252,7 +252,7 @@ CompletionItemKind GetCompletionKind(CXCursorKind cursor_kind) { case CXCursor_MacroInstantiation: case CXCursor_MacroDefinition: - return CompletionItemKind::Interface; + return CompletionItemKind::Text; case CXCursor_Namespace: case CXCursor_NamespaceAlias: