mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
Skip informative scope foo::
This commit is contained in:
parent
62d0c49b0a
commit
05c4c85bd6
@ -380,6 +380,11 @@ void BuildItem(std::vector<lsCompletionItem> &out,
|
||||
for (auto i = first; i < out.size(); i++)
|
||||
out[i].parameters_.push_back(text);
|
||||
break;
|
||||
case CodeCompletionString::CK_Informative:
|
||||
if (StringRef(Chunk.Text).endswith("::"))
|
||||
continue;
|
||||
text = Chunk.Text;
|
||||
break;
|
||||
case CodeCompletionString::CK_ResultType:
|
||||
result_type = Chunk.Text;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user