mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
.
parent
2d57ccf79b
commit
0e0afea3f1
4
Build.md
4
Build.md
@ -77,9 +77,9 @@ You may add directories for `include` and `lib` separated by a `;`, e.g. to use
|
||||
If using Windows the automatically downloaded LLVM binaries are 64-bit; you should build cquery in 64-bit as well. You can tell cmake to build 64-bit using `-DCMAKE_GENERATOR_PLATFORM=x64`
|
||||
|
||||
|
||||
MaskRay's config (building trunk LLVM at ~/Dev/llvm/static-release/ to get read/write/addr references and other features):
|
||||
MaskRay's config (building trunk LLVM at `~/Dev/llvm/static-release/` to get read/write/addr references and other features):
|
||||
```zsh
|
||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_LINKER=ld.lld -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DSYSTEM_CLANG=On -DCMAKE_PREFIX_PATH="$HOME/Dev/llvm/static-release;$HOME/Dev/llvm/tools/clang" -Brelease -H.
|
||||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DSYSTEM_CLANG=On -DCMAKE_PREFIX_PATH="$HOME/Dev/llvm/static-release;$HOME/Dev/llvm/tools/clang" -Brelease -H.
|
||||
cmake --build release
|
||||
```
|
||||
|
||||
|
5
Emacs.md
5
Emacs.md
@ -180,6 +180,11 @@ ccls-sem-function-colors
|
||||
ccls-sem-macro-colors
|
||||
;; ...
|
||||
ccls-sem-member-face ;; defaults to t :slant italic
|
||||
|
||||
;; To customize faces used
|
||||
(face-spec-set 'cquery-sem-member-face
|
||||
'((t :slant "normal"))
|
||||
'face-defface-spec)
|
||||
```
|
||||
|
||||
by default only one face is used for each symbol kind (type/function/variable/member function)
|
||||
|
Loading…
Reference in New Issue
Block a user