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_15.0.6/bin/clangd
The path to clangd
binary.
lsp-clangd-download-url
#
Type: string
Default: https://github.com/clangd/clangd/releases/download/15.0.6/clangd-linux-15.0.6.zip
Automatic download url for clangd
lsp-clangd-version
#
Type: string
Default: 15.0.6
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.
lsp-clients-clangd-library-directories
#
Type: (repeat string)
Default: (/usr)
List of directories which will be considered to be libraries.