From ffecfcdce938bbcfd937a4979811ff067b540a63 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 27 Dec 2019 22:39:18 -0800 Subject: [PATCH] Mention empty .ccls --- Project-Setup.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Project-Setup.md b/Project-Setup.md index dca36e1..b08f5f1 100644 --- a/Project-Setup.md +++ b/Project-Setup.md @@ -7,6 +7,7 @@ There are two main ways this happens: 1. Provide `compile_commands.json` at the project root 2. Provide a [`.ccls` file](#ccls-file). It is a line-based text file describing compiler flags. Recursively listed source files (headers excluded) will be indexed. + Use an empty `.ccls` to get started (if you don't need specific -I, -D, etc). If neither exists, then when ccls starts it will not index anything: instead it will wait for LSP clients to open files and index only those files.