fix emacs-ccls link

Miloas 2019-11-12 16:18:08 +08:00
parent c2a9ed14ce
commit bf255f3305

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.