Registers the clangd lsp to vim-lsp, to be used with vim-lsp.
Requires clangd
installed.
Example usage:
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
...
Plug 'piec/vim-lsp-clangd'
Ignore the warning about clangd
not found:
let g:lsp_clangd_ignore_warning = 1
You may use the CLANGD_FLAGS
environment variable in order to pass arguments to clangd, for example:
export CLANGD_FLAGS="--compile-commands-dir=$PWD/build"