initialWhitelist

Fangrui Song 2019-05-25 18:39:39 -07:00
parent 4a24d67c17
commit d70769d0df

@ -240,7 +240,7 @@ Example: `{"index": {"multiVersion": 1, "multiVersionBlacklist": ["^/usr/include
#### `index.initialBlacklist`
Default: _empty_
Default: `[]`
A list of regular expressions matching files that should not be indexed when
the `ccls` server starts up, but will still be indexed if a client opens them.
@ -253,7 +253,9 @@ parsing operations when performing quick edits on large projects.
Be aware that you will not have access to full cross-referencing information
in this situation.
Example: `{"index": {"initialBlacklist": "."}}` (matches all files)
If `index.initialWhitelist` is also specified, the whitelist takes precedence.
Example: `{"index": {"initialBlacklist": ["."]}}` (matches all files)
#### `index.onChange`