From 2180023220e44891b971db8e8fa2ac9141c5263a Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Tue, 1 Feb 2022 18:20:46 -0800 Subject: [PATCH] Test fails with the latest Vim --- plugin/lsp.vim | 2 +- test/unit_tests.vim | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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', -- 2.48.1