Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit 28562a6

Browse files
committed
test(nvim-plug): update test dir
1 parent d9eff30 commit 28562a6

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

bundle/nvim-plug/test/init.lua

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55
-- License: GPLv3
66
--=============================================================================
77

8-
vim.opt.runtimepath:append('.')
9-
vim.opt.runtimepath:append('~/.SpaceVim')
8+
if vim.fn.isdirectory('D:/bundle_dir/wsdjeg/nvim-plug') == 0 then
9+
vim.fn.system({
10+
'git',
11+
'clone',
12+
'--depth',
13+
'1',
14+
'https://github.com/wsdjeg/nvim-plug.git',
15+
'D:/bundle_dir/wsdjeg/nvim-plug',
16+
})
17+
end
18+
vim.opt.runtimepath:append('D:/bundle_dir/wsdjeg/nvim-plug')
1019

1120
require('plug').setup({
1221

@@ -15,7 +24,8 @@ require('plug').setup({
1524
ui = 'default',
1625
http_proxy = 'http://127.0.0.1:7890',
1726
https_proxy = 'http://127.0.0.1:7890',
18-
enable_priority = true
27+
enable_priority = true,
28+
max_processes = 16,
1929
})
2030

2131
require('plug').add({
@@ -26,7 +36,7 @@ require('plug').add({
2636
{
2737
type = 'raw',
2838
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
29-
script_type = 'after/syntax'
39+
script_type = 'after/syntax',
3040
},
3141
{
3242
'wsdjeg/git.vim',
@@ -35,12 +45,12 @@ require('plug').add({
3545
{
3646
'wsdjeg/JavaUnit.vim',
3747
cmds = { 'JavaUnit' },
38-
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
48+
build = { 'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java' },
3949
depends = {
4050
{
41-
'wsdjeg/syntastic'
42-
}
43-
}
51+
'wsdjeg/syntastic',
52+
},
53+
},
4454
},
4555
{
4656
'D:/wsdjeg/winbar2.nvim',

0 commit comments

Comments
 (0)