mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Mention empty .ccls
parent
9fb988fe5d
commit
ffecfcdce9
@ -7,6 +7,7 @@ There are two main ways this happens:
|
|||||||
1. Provide `compile_commands.json` at the project root
|
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.
|
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.
|
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
|
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.
|
will wait for LSP clients to open files and index only those files.
|
||||||
|
Loading…
Reference in New Issue
Block a user