1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-22 02:53:45 +08:00
SpaceVim/bundle/nvim-plug/test/init.lua

77 lines
1.7 KiB
Lua
Raw Normal View History

--=============================================================================
-- init.lua
-- Copyright 2025 Eric Wong
-- Author: Eric Wong < wsdjeg@outlook.com >
-- License: GPLv3
--=============================================================================
vim.opt.runtimepath:append('.')
vim.opt.runtimepath:append('~/.SpaceVim')
require('plug').setup({
bundle_dir = 'D:/bundle_dir',
2025-02-08 22:47:33 +08:00
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-05 11:31:31 +08:00
require('plug').add({
2025-02-07 20:44:59 +08:00
{
'wsdjeg/SourceCounter.vim',
2025-02-07 21:22:07 +08:00
cmds = { 'SourceCounter' },
2025-02-07 20:44:59 +08:00
},
2025-02-08 22:47:33 +08:00
{
type = 'raw',
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
script_type = 'after/syntax'
},
2025-02-07 20:44:59 +08:00
{
'wsdjeg/git.vim',
2025-02-07 21:22:07 +08:00
cmds = { 'Git' },
2025-02-07 20:44:59 +08:00
},
{
'wsdjeg/JavaUnit.vim',
2025-02-07 21:22:07 +08:00
cmds = { 'JavaUnit' },
2025-02-08 20:39:11 +08:00
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
depends = {
{
'wsdjeg/syntastic'
}
}
2025-02-07 20:44:59 +08:00
},
{
'wsdjeg/vim-async-dict',
build = 'cargo build',
2025-02-07 21:22:07 +08:00
frozen = true,
2025-02-07 20:44:59 +08:00
},
2025-02-05 11:31:31 +08:00
{
'wsdjeg/scrollbar.vim',
events = { 'VimEnter' },
config = function() end,
},
{
'mhinz/vim-startify',
},
{
'rakr/vim-one',
events = { 'VimEnter' },
config = function()
vim.cmd('colorscheme one')
end,
},
2025-02-05 11:31:31 +08:00
{
'wsdjeg/flygrep.nvim',
cmds = { 'FlyGrep' },
config = function()
require('flygrep').setup()
2025-02-05 11:31:31 +08:00
end,
},
{
'rhysd/clever-f.vim',
on_map = { '<Plug>(clever-f' },
},
})
2025-02-05 11:31:31 +08:00
vim.cmd('nmap f <Plug>(clever-f-f)')