add ccls-project-root-matchers doc link

Baozheng Liu 2018-09-07 16:14:46 +08:00
parent 6bdc58c060
commit f34ab17112

@ -54,7 +54,7 @@ Remember to copy/symlink it to the project root.
#### `.ccls`
Another way is to create a file named `.ccls` located in the project root. ccls recursively finds source files and indexes them. `.ccls` can also exist in subdirectories which will affect the options in its subtree. *Notice* If you use emacs-ccls, read the document of `ccls-project-root-matchers` to locate the project root correctly.
Another way is to create a file named `.ccls` located in the project root. ccls recursively finds source files and indexes them. `.ccls` can also exist in subdirectories which will affect the options in its subtree. *Notice* If you use emacs-ccls, read the document of `[ccls-project-root-matchers](https://github.com/MaskRay/ccls/wiki/FAQ#project-root-detection)` to locate the project root correctly.
If `%clang` is used, it expands to `clang/clang++` according to the extension name. Prefix options with `%c ` or `%cpp ` to make it specific to C or C++.