diff --git a/Build.md b/Build.md index c467210..016a735 100644 --- a/Build.md +++ b/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 ``` diff --git a/Emacs.md b/Emacs.md index b54e64c..1d79cc2 100644 --- a/Emacs.md +++ b/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)