Skip to content

C++#

Server#

For more information about the LSP server, check clangd.

Installation#

For more instructions on how to install manually, check here.

Debugger: Yes (gdb or lldb)#

Available configurations#

lsp-clangd-binary-path#

Type: file

Default: ~/.emacs.d/.cache/lsp/clangd/clangd_12.0.0/bin/clangd

The path to clangd binary.


lsp-clangd-download-url#

Type: string

Default: https://github.com/clangd/clangd/releases/download/12.0.0/clangd-linux-12.0.0.zip

Automatic download url for clangd


lsp-clangd-version#

Type: string

Default: 12.0.0

Clangd version to download. It has to be set before lsp-clangd.el is loaded and it has to be available here: https://github.com/clangd/clangd/releases/


lsp-clients-clangd-args#

Type: (repeat string)

Default: (--header-insertion-decorators=0)

Extra arguments for the clangd executable.


lsp-clients-clangd-executable#

Type: (choice (file :tag Path) (const :tag Auto nil))

Default: nil

The clangd executable to use. When `non-nil use the name of the clangd executable file available in your path to use. Otherwise the system will try to find a suitable one. Set this variable before loading lsp.



Last update: October 13, 2021