1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-23 18:21:32 +08:00
SpaceVim/bundle/nvim-plug/test/init.lua

91 lines
1.8 KiB
Lua
Raw Normal View History

2025-02-11 22:15:25 +08:00
--=============================================================================
-- init.lua
-- Copyright 2025 Eric Wong
-- Author: Eric Wong < wsdjeg@outlook.com >
-- License: GPLv3
--=============================================================================
2025-02-15 15:43:44 +08:00
vim.opt.runtimepath:append('.')
vim.opt.runtimepath:append('~/.SpaceVim')
2025-02-11 22:15:25 +08:00
require('plug').setup({
bundle_dir = 'D:/bundle_dir',
raw_plugin_dir = 'D:/bundle_dir/raw_plugin',
ui = 'default',
http_proxy = 'http://127.0.0.1:7890',
https_proxy = 'http://127.0.0.1:7890',
2025-02-15 14:19:48 +08:00
enable_priority = true,
max_processes = 16,
2025-02-11 22:15:25 +08:00
})
require('plug').add({
{
'wsdjeg/SourceCounter.vim',
cmds = { 'SourceCounter' },
},
{
type = 'raw',
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
2025-02-15 14:19:48 +08:00
script_type = 'after/syntax',
2025-02-11 22:15:25 +08:00
},
{
'wsdjeg/git.vim',
cmds = { 'Git' },
},
{
'wsdjeg/JavaUnit.vim',
cmds = { 'JavaUnit' },
2025-02-15 14:19:48 +08:00
build = { 'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java' },
2025-02-11 22:15:25 +08:00
depends = {
{
2025-02-15 14:19:48 +08:00
'wsdjeg/syntastic',
},
},
2025-02-11 22:15:25 +08:00
},
2025-02-12 01:21:47 +08:00
{
'D:/wsdjeg/winbar2.nvim',
},
2025-02-11 22:15:25 +08:00
{
'wsdjeg/vim-async-dict',
frozen = true,
},
{
'wsdjeg/scrollbar.vim',
events = { 'VimEnter' },
config = function() end,
},
{
'mhinz/vim-startify',
},
{
'vim-airline/vim-airline',
},
{
'vim-airline/vim-airline-themes',
},
{
'preservim/nerdtree',
},
{
'rakr/vim-one',
config = function()
vim.cmd('colorscheme one')
end,
priority = 100,
2025-02-11 22:15:25 +08:00
},
{
'wsdjeg/flygrep.nvim',
cmds = { 'FlyGrep' },
config = function()
require('flygrep').setup()
end,
},
{
'rhysd/clever-f.vim',
on_map = { '<Plug>(clever-f' },
},
})
require('plug').load()
2025-02-11 22:15:25 +08:00
vim.cmd('nmap f <Plug>(clever-f-f)')