From e5b4a404df94efe512442b32b47e0ffe7394f106 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 bb656298..7dd4f9db 100644 --- a/src/messages/textDocument_completion.cc +++ b/src/messages/textDocument_completion.cc @@ -264,7 +264,7 @@ CompletionItemKind GetCompletionKind(CXCursorKind cursor_kind) { case CXCursor_MacroInstantiation: case CXCursor_MacroDefinition: - return CompletionItemKind::Interface; + return CompletionItemKind::Text; case CXCursor_Namespace: case CXCursor_NamespaceAlias: