From bddd8d1209b5dc8fec1876e72b62f94fc9067c59 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: