mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
fix emacs-ccls link
parent
c2a9ed14ce
commit
bf255f3305
2
FAQ.md
2
FAQ.md
@ -159,7 +159,7 @@ jq . < /tmp/ccls/@tmp@c/a.cc.json
|
|||||||
|
|
||||||
## Project root detection
|
## Project root detection
|
||||||
|
|
||||||
[emacs-ccls](https://github.com/MaskRay/emacs-cquery/) locates the project root in the following order:
|
[emacs-ccls](https://github.com/MaskRay/emacs-ccls/) locates the project root in the following order:
|
||||||
|
|
||||||
* `.ccls-root`. If this file exists in any parent directory, that directory is treated as the project root.
|
* `.ccls-root`. If this file exists in any parent directory, that directory is treated as the project root.
|
||||||
* `(lsp--suggest-project-root)` which in turn calls `(projectile-project-root)`. Usually you don't want `/usr/include/c++/8/algorithm` to be treated as in the project `/usr/include/c++/8/`, `(setq projectile-require-project-root t)` inhibits the behavior.
|
* `(lsp--suggest-project-root)` which in turn calls `(projectile-project-root)`. Usually you don't want `/usr/include/c++/8/algorithm` to be treated as in the project `/usr/include/c++/8/`, `(setq projectile-require-project-root t)` inhibits the behavior.
|
||||||
|
Loading…
Reference in New Issue
Block a user