From: shane.xb.qian Date: Fri, 11 Nov 2022 02:03:59 +0000 (+0800) Subject: ci: complacence with clangd-14 and more robust code X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2e8b9299891bc0eb8a11c2e323aeed7a4fc9dd16;p=vim-lsp.git ci: complacence with clangd-14 and more robust code --- diff --git a/test/unit_tests.vim b/test/unit_tests.vim index 3e8817a..8e7f72a 100644 --- a/test/unit_tests.vim +++ b/test/unit_tests.vim @@ -21,7 +21,7 @@ endif source ../plugin/lsp.vim var lspServers = [{ filetype: ['c', 'cpp'], - path: '/usr/bin/clangd-12', + path: (exepath('clangd-14') ?? exepath('clangd')), args: ['--background-index', '--clang-tidy'] }] call LspAddServer(lspServers)