emacs-cquery is a client for cquery, a low-latency language server supporting multi-million line C++ code-bases, powered by libclang.
It leverages lsp-mode, but also provides some cquery extensions to LSP:
- semantic highlighting
- inactive region (e.g. a
- cross references:
(require 'cquery) (setq cquery-executable "/path/to/cquery/build/release/bin/cquery") ;; (setq cquery-executable "/path/to/cquery-install-prefix/bin/cquery")
To enable comments and use Message Pack for cache files (which are stored in
(setq cquery-extra-init-params '(:index (:comments 2) :cacheFormat "msgpack"))
Refer to https://github.com/jacobdufault/cquery/wiki/Emacs for details.