diff --git a/src/messages/textDocument_completion.cc b/src/messages/textDocument_completion.cc index d207ad36..c40c4a58 100644 --- a/src/messages/textDocument_completion.cc +++ b/src/messages/textDocument_completion.cc @@ -622,6 +622,7 @@ struct Handler_TextDocumentCompletion #if LLVM_VERSION_MAJOR >= 7 CCOpts.IncludeFixIts = true; #endif + CCOpts.IncludeMacros = true; if (cache.IsCacheValid(params)) { CompletionConsumer Consumer(CCOpts, true); cache.WithLock([&]() { Consumer.ls_items = cache.result; });