Mention empty .ccls

Fangrui Song 2019-12-27 22:39:18 -08:00
parent 9fb988fe5d
commit ffecfcdce9

@ -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.