diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-08-05 19:07:16 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-08-05 19:07:16 +0300 |
commit | 32b3b43ea6950d89640761bb979f4005e22329ee (patch) | |
tree | 6404ed146d630d9e2d6c1e7cb5dafdc012864ab3 /dotfiles/.config/nvim | |
parent | 0bfe340435dc7a51868db24a511956c8911a1ba2 (diff) | |
download | vimrice-32b3b43ea6950d89640761bb979f4005e22329ee.tar.gz vimrice-32b3b43ea6950d89640761bb979f4005e22329ee.zip |
Make nvim use clangd as lsp for C headers
For those case where they are explicitly marked as CH, i.e. C headers
and not C++.
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 0fa9bb7..02b7798 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -219,6 +219,7 @@ call plug#end() " LSP let g:LanguageClient_serverCommands = { \ 'c': ['/usr/bin/clangd'], + \ 'ch': ['/usr/bin/clangd'], \ 'go': ['/usr/bin/gopls'], \ 'cpp': ['/usr/bin/clangd'], \ 'python': ['/usr/bin/pyls'], |