From: Yegappan Lakshmanan Date: Wed, 2 Feb 2022 02:20:46 +0000 (-0800) Subject: Test fails with the latest Vim X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=2180023220e44891b971db8e8fa2ac9141c5263a;p=vim-lsp.git Test fails with the latest Vim --- diff --git a/plugin/lsp.vim b/plugin/lsp.vim index a118632..c358d49 100644 --- a/plugin/lsp.vim +++ b/plugin/lsp.vim @@ -10,7 +10,7 @@ var opt = {} var lspf = {} if has('patch-8.2.4257') import '../autoload/lspoptions.vim' as lspoptions - import autoload 'lsp.vim' + import '../autoload/lsp.vim' opt.LspOptionsSet = lspoptions.LspOptionsSet opt.lspOptions = lspoptions.lspOptions diff --git a/test/unit_tests.vim b/test/unit_tests.vim index 8de33bb..dc9270c 100644 --- a/test/unit_tests.vim +++ b/test/unit_tests.vim @@ -18,8 +18,7 @@ if do_profile profile! file */lsp/* endif -set packpath+=../../../../../ -packadd lsp +source ../plugin/lsp.vim var lspServers = [{ filetype: ['c', 'cpp'], path: '/usr/bin/clangd-12',