diff --git a/Customization.md b/Customization.md index 2be33b1..ef0b28d 100644 --- a/Customization.md +++ b/Customization.md @@ -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`