mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Include macros in completion result
This commit is contained in:
parent
e24079366b
commit
3abbca6474
@ -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; });
|
||||
|
Loading…
Reference in New Issue
Block a user