piec / vim-lsp-clangd

Register clangd to vim-lsp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

Register clangd to vim-lsp


Languages

Language:Vim Script 100.0%