From 32b3b43ea6950d89640761bb979f4005e22329ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 5 Aug 2021 19:07:16 +0300 Subject: 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++. --- dotfiles/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'dotfiles') 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'], -- cgit v1.2.3