location-uir
instead of location-uri
no ?
(setq ccls-sem-highlight-method 'overlay)
(ccls-use-default-rainbow-sem-highlight)
in my config, but I still only get the emacs standard syntax highlighting (no highlights for calls to member functions, for example). Does anyone know how to configure this?
dave@ubuntu:~/ccls$ clang --version
Ubuntu clang version 12.0.0-++20200817091410+a206f850912-1~exp1~20200817072030.1875
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
dave@ubuntu:~/ccls$ ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193
dave@ubuntu:~/ccls$ rm -rf Release && cmake -DCMAKE_CXX_COMPILER=clang++ -GNinja -H. -BRelease && ninja -C Release && sudo /home/dave/bin/depot_tools/ninja -C Release install
-- The CXX compiler identification is Clang 12.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Using local RapidJSON
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dave/ccls/Release
ninja: Entering directory `Release'
[43/43] Linking CXX executable ccls
ninja: Entering directory `Release'
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/ccls
-- Set runtime path of "/usr/local/bin/ccls" to ""
dave@ubuntu:~/ccls$ ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193
dave@ubuntu:~/ccls$ /usr/local/bin/ccls --version
Ubuntu ccls version 0.20190823.6-23-g4cf16a7e
clang version 10.0.1-++20200809072545+ef32c611aa2-1~exp1~20200809173142.193
rm -rf Release && cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_PREFIX_PATH=/usr/lib/llvm-12 -DLLVM_INCLUDE_DIR=/usr/lib/llvm-12/include -DLLVM_BUILD_INCLUDE_DIR=/usr/include/llvm-12/ -GNinja -H. -BRelease && ninja -C Release && sudo /home/dave/bin/depot_tools/ninja -C Release install
ccls
package on Ubuntu and coc-ccls
on Coc but I get this error:[coc.nvim] Unable to load global extension at /home/ujjwal/.config/coc/extensions/node_modules/coc-ccls: main file ./lib/extension.js not found, you may need to build the project.