mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 06:07:58 +08:00
chore(nvim-plug): change fileformat
This commit is contained in:
parent
75766dabfd
commit
f285787ed9
166
bundle/nvim-plug/test/init.lua
vendored
166
bundle/nvim-plug/test/init.lua
vendored
@ -1,83 +1,83 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- init.lua
|
-- init.lua
|
||||||
-- Copyright 2025 Eric Wong
|
-- Copyright 2025 Eric Wong
|
||||||
-- Author: Eric Wong < wsdjeg@outlook.com >
|
-- Author: Eric Wong < wsdjeg@outlook.com >
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
--=============================================================================
|
--=============================================================================
|
||||||
|
|
||||||
vim.opt.runtimepath:append('.')
|
vim.opt.runtimepath:append('.')
|
||||||
vim.opt.runtimepath:append('~/.SpaceVim')
|
vim.opt.runtimepath:append('~/.SpaceVim')
|
||||||
|
|
||||||
require('plug').setup({
|
require('plug').setup({
|
||||||
|
|
||||||
bundle_dir = 'D:/bundle_dir',
|
bundle_dir = 'D:/bundle_dir',
|
||||||
raw_plugin_dir = 'D:/bundle_dir/raw_plugin',
|
raw_plugin_dir = 'D:/bundle_dir/raw_plugin',
|
||||||
ui = 'default',
|
ui = 'default',
|
||||||
http_proxy = 'http://127.0.0.1:7890',
|
http_proxy = 'http://127.0.0.1:7890',
|
||||||
https_proxy = 'http://127.0.0.1:7890',
|
https_proxy = 'http://127.0.0.1:7890',
|
||||||
})
|
})
|
||||||
|
|
||||||
require('plug').add({
|
require('plug').add({
|
||||||
{
|
{
|
||||||
'wsdjeg/SourceCounter.vim',
|
'wsdjeg/SourceCounter.vim',
|
||||||
cmds = { 'SourceCounter' },
|
cmds = { 'SourceCounter' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type = 'raw',
|
type = 'raw',
|
||||||
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
|
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
|
||||||
script_type = 'after/syntax'
|
script_type = 'after/syntax'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'wsdjeg/git.vim',
|
'wsdjeg/git.vim',
|
||||||
cmds = { 'Git' },
|
cmds = { 'Git' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'wsdjeg/JavaUnit.vim',
|
'wsdjeg/JavaUnit.vim',
|
||||||
cmds = { 'JavaUnit' },
|
cmds = { 'JavaUnit' },
|
||||||
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
|
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
|
||||||
depends = {
|
depends = {
|
||||||
{
|
{
|
||||||
'wsdjeg/syntastic'
|
'wsdjeg/syntastic'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'wsdjeg/vim-async-dict',
|
'wsdjeg/vim-async-dict',
|
||||||
frozen = true,
|
frozen = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'wsdjeg/scrollbar.vim',
|
'wsdjeg/scrollbar.vim',
|
||||||
events = { 'VimEnter' },
|
events = { 'VimEnter' },
|
||||||
config = function() end,
|
config = function() end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'mhinz/vim-startify',
|
'mhinz/vim-startify',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'vim-airline/vim-airline',
|
'vim-airline/vim-airline',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'vim-airline/vim-airline-themes',
|
'vim-airline/vim-airline-themes',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'preservim/nerdtree',
|
'preservim/nerdtree',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'rakr/vim-one',
|
'rakr/vim-one',
|
||||||
config = function()
|
config = function()
|
||||||
vim.cmd('colorscheme one')
|
vim.cmd('colorscheme one')
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'wsdjeg/flygrep.nvim',
|
'wsdjeg/flygrep.nvim',
|
||||||
cmds = { 'FlyGrep' },
|
cmds = { 'FlyGrep' },
|
||||||
config = function()
|
config = function()
|
||||||
require('flygrep').setup()
|
require('flygrep').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'rhysd/clever-f.vim',
|
'rhysd/clever-f.vim',
|
||||||
on_map = { '<Plug>(clever-f' },
|
on_map = { '<Plug>(clever-f' },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
vim.cmd('nmap f <Plug>(clever-f-f)')
|
vim.cmd('nmap f <Plug>(clever-f-f)')
|
||||||
|
Loading…
Reference in New Issue
Block a user