1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-14 05:48:00 +08:00

chore(nvim-plug): change fileformat

This commit is contained in:
Eric Wong 2025-02-11 22:15:25 +08:00
parent 75766dabfd
commit f285787ed9
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -1,83 +1,83 @@
--=============================================================================
-- 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',
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',
})
require('plug').add({
{
'wsdjeg/SourceCounter.vim',
cmds = { 'SourceCounter' },
},
{
type = 'raw',
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
script_type = 'after/syntax'
},
{
'wsdjeg/git.vim',
cmds = { 'Git' },
},
{
'wsdjeg/JavaUnit.vim',
cmds = { 'JavaUnit' },
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
depends = {
{
'wsdjeg/syntastic'
}
}
},
{
'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,
},
{
'wsdjeg/flygrep.nvim',
cmds = { 'FlyGrep' },
config = function()
require('flygrep').setup()
end,
},
{
'rhysd/clever-f.vim',
on_map = { '<Plug>(clever-f' },
},
})
vim.cmd('nmap f <Plug>(clever-f-f)')
--=============================================================================
-- 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',
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',
})
require('plug').add({
{
'wsdjeg/SourceCounter.vim',
cmds = { 'SourceCounter' },
},
{
type = 'raw',
url = 'https://gist.githubusercontent.com/wsdjeg/4ac99019c5ca156d35704550648ba321/raw/4e8c202c74e98b5d56616c784bfbf9b873dc8868/markdown.vim',
script_type = 'after/syntax'
},
{
'wsdjeg/git.vim',
cmds = { 'Git' },
},
{
'wsdjeg/JavaUnit.vim',
cmds = { 'JavaUnit' },
build = {'javac', '-encoding', 'utf8', '-d', 'bin', 'src/com/wsdjeg/util/*.java'},
depends = {
{
'wsdjeg/syntastic'
}
}
},
{
'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,
},
{
'wsdjeg/flygrep.nvim',
cmds = { 'FlyGrep' },
config = function()
require('flygrep').setup()
end,
},
{
'rhysd/clever-f.vim',
on_map = { '<Plug>(clever-f' },
},
})
vim.cmd('nmap f <Plug>(clever-f-f)')