From ad99236a5deb4622e85c4b257de84abaebed1d8d Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 8 Apr 2018 10:17:48 -0700 Subject: [PATCH] references heuristic --- FAQ.md | 1 + 1 file changed, 1 insertion(+) diff --git a/FAQ.md b/FAQ.md index da4887f..1171fe3 100644 --- a/FAQ.md +++ b/FAQ.md @@ -156,6 +156,7 @@ For reference, read [Valloric/ycmd#892](https://github.com/Valloric/ycmd/issues/ * #include <iostream> lists all `#include` lines in the project pointing to the included file * [](){} lists all(?) lambda expressions thanks to implicit `std::function` move constructor * extern int a; If `ReferenceContext.includeDeclaration` is true, the definition and declarations are also listed. +* If no references is found but the point is on the first line, list `#include` lines referencing current file. ### `$ccls/base`