]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Test fails with the latest Vim
authorYegappan Lakshmanan <yegappan@yahoo.com>
Wed, 2 Feb 2022 02:20:46 +0000 (18:20 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Wed, 2 Feb 2022 02:20:46 +0000 (18:20 -0800)
plugin/lsp.vim
test/unit_tests.vim

index a118632f13431901242e522d54875cdfcb08524d..c358d4946a09b148e4ba4ade159d29b274b358cb 100644 (file)
@@ -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
index 8de33bb4ba0b40d95a4f088e28d94b02127ddeae..dc9270ce37e9f17e8cd0f0353f3172c3c0b8fdb7 100644 (file)
@@ -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',