mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
add ccls-project-root-matchers doc link
parent
6bdc58c060
commit
f34ab17112
@ -54,7 +54,7 @@ Remember to copy/symlink it to the project root.
|
|||||||
|
|
||||||
#### `.ccls`
|
#### `.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++.
|
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++.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user