1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00
SpaceVim/.ci/detach_plugin.sh

533 lines
25 KiB
Bash
Raw Normal View History

2024-07-08 17:45:42 +08:00
#!/usr/bin/env bash
_detact () {
cp -f ../../$1 $1
}
_detact_bundle () {
2024-07-08 17:45:42 +08:00
cp -f ../../bundle/$1/$2 $2
}
_checkdir () {
if [[ ! -d "$1" ]]; then
mkdir -p $1
fi
}
_default_readme () {
cat <<EOT > README.md
# $1
> $2
This plugin is automatically detach from [SpaceVim](https://github.com/SpaceVim/SpaceVim/). you can use it without SpaceVim.
EOT
}
main () {
case "$1" in
2024-07-26 18:52:40 +08:00
FlyGrep.vim)
git clone https://github.com/wsdjeg/$1.git detach/$1
2024-07-08 17:45:42 +08:00
cd detach/$1
_checkdir syntax/
_checkdir autoload/SpaceVim/api
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/neovim
_checkdir autoload/SpaceVim/api/data
_checkdir autoload/SpaceVim/mapping
_checkdir autoload/SpaceVim/plugins
_detact autoload/SpaceVim/plugins/flygrep.vim
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/logger.vim
_detact autoload/SpaceVim/api/vim/buffer.vim
_detact autoload/SpaceVim/api/vim/regex.vim
_detact autoload/SpaceVim/api/vim/compatible.vim
_detact autoload/SpaceVim/api/vim/floating.vim
_detact autoload/SpaceVim/api/vim/highlight.vim
_detact autoload/SpaceVim/api/vim/statusline.vim
_detact autoload/SpaceVim/api/vim/window.vim
_detact autoload/SpaceVim/api/neovim/floating.vim
_detact autoload/SpaceVim/api/data/dict.vim
_detact autoload/SpaceVim/api/data/list.vim
_detact autoload/SpaceVim/api/data/json.vim
_detact autoload/SpaceVim/api/data/string.vim
_detact autoload/SpaceVim/api/prompt.vim
_detact autoload/SpaceVim/api/job.vim
_detact autoload/SpaceVim/api/vim.vim
_detact autoload/SpaceVim/api/file.vim
_detact autoload/SpaceVim/api/system.vim
_detact autoload/SpaceVim/api/time.vim
_detact autoload/SpaceVim/mapping/search.vim
_detact autoload/SpaceVim/logger.vim
# detach lua version flygrep
_checkdir lua/spacevim/api
_checkdir lua/spacevim/api/vim
_checkdir lua/spacevim/plugin
_detact lua/spacevim/plugin/flygrep.lua
_detact lua/spacevim/plugin/search.lua
_detact lua/spacevim.lua
_detact lua/spacevim/logger.lua
_detact lua/spacevim/api.lua
_detact lua/spacevim/api/logger.lua
_detact lua/spacevim/api/prompt.lua
_detact lua/spacevim/api/notify.lua
_detact lua/spacevim/api/job.lua
2024-07-08 17:45:42 +08:00
_detact lua/spacevim/api/password.lua
_detact lua/spacevim/api/vim.lua
_detact lua/spacevim/api/system.lua
_detact lua/spacevim/api/vim/compatible.lua
_detact lua/spacevim/api/vim/highlight.lua
_detact lua/spacevim/api/vim/regex.lua
_detact lua/spacevim/api/vim/keys.lua
_detact lua/spacevim/api/vim/buffer.lua
_detact lua/spacevim/api/vim/window.lua
_detact lua/spacevim/api/vim/statusline.lua
# detach syntax/ftplugin etc
_detact syntax/SpaceVimFlyGrep.vim
# detach bundle
_checkdir plugin
_detact_bundle FlyGrep plugin/FlyGrep.vim
_detact_bundle FlyGrep README.md
_detact_bundle FlyGrep addon-info.json
2024-07-08 17:45:42 +08:00
_checkdir doc/
_detact_bundle FlyGrep doc/FlyGrep.txt
2024-07-08 17:45:42 +08:00
# detach LICENSE
_detact LICENSE
# detach test vimrc
_checkdir test
_detact_bundle FlyGrep test/vimrc
2024-07-08 17:45:42 +08:00
;;
2024-07-26 18:52:40 +08:00
dein-ui.vim)
2024-07-08 17:45:42 +08:00
git clone https://github.com/wsdjeg/dein-ui.vim.git detach/$1
cd detach/$1
_checkdir syntax/
_checkdir autoload/SpaceVim/api
_checkdir autoload/SpaceVim/api/data
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/mapping
_checkdir autoload/SpaceVim/plugins
_detact autoload/SpaceVim/plugins/manager.vim
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/commands.vim
_detact autoload/SpaceVim/logger.vim
_detact autoload/SpaceVim/api/job.vim
_detact autoload/SpaceVim/api/system.vim
_detact autoload/SpaceVim/api/data/list.vim
_detact autoload/SpaceVim/api/vim/compatible.vim
_detact syntax/SpaceVimPlugManager.vim
_detact LICENSE
;;
cpicker.nvim)
git clone https://github.com/wsdjeg/cpicker.nvim.git detach/$1
cd detach/$1
_checkdir syntax
_detact_bundle cpicker.nvim syntax/spacevim_cpicker.vim
_detact_bundle cpicker.nvim syntax/spacevim_cpicker_mix.vim
_detact_bundle cpicker.nvim README.md
_checkdir plugin
_detact_bundle cpicker.nvim plugin/cpicker.lua
_checkdir lua/cpicker/formats
_detact_bundle cpicker.nvim lua/cpicker.lua
_detact_bundle cpicker.nvim lua/cpicker/util.lua
_detact_bundle cpicker.nvim lua/cpicker/mix.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/cmyk.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/hsl.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/hsv.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/hwb.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/lab.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/linear.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/rgb.lua
_detact_bundle cpicker.nvim lua/cpicker/formats/xyz.lua
_checkdir lua/spacevim/api
_detact lua/spacevim/api/color.lua
_detact lua/spacevim/api/notify.lua
_detact lua/spacevim/api/password.lua
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/data
_detact autoload/SpaceVim/api/notify.vim
_detact autoload/SpaceVim/api/data/string.vim
_detact autoload/SpaceVim/api/data/number.vim
_detact autoload/SpaceVim/api/vim/buffer.vim
_detact autoload/SpaceVim/api/vim/floatting.vim
_checkdir autoload/SpaceVim/api/neovim
_detact autoload/SpaceVim/api/neovim/floatting.vim
_detact LICENSE
;;
2024-07-24 19:24:48 +08:00
SourceCounter.vim)
git clone https://github.com/wsdjeg/SourceCounter.vim.git detach/$1
cd detach/$1
_checkdir plugin
_detact_bundle SourceCounter.vim plugin/SourceCounter.vim
2024-07-24 19:24:48 +08:00
_checkdir autoload
_detact_bundle SourceCounter.vim autoload/SourceCounter.vim
2024-07-24 19:24:48 +08:00
_checkdir doc
_detact_bundle SourceCounter.vim doc/SourceCounter.vim.txt
_detact_bundle SourceCounter.vim README.md
_detact_bundle SourceCounter.vim addon-info.json
2024-07-24 19:24:48 +08:00
_detact LICENSE
_checkdir pic
_detact_bundle SourceCounter.vim pic/screen.png
2024-07-24 19:24:48 +08:00
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/data
_detact autoload/SpaceVim/api/notify.vim
_detact autoload/SpaceVim/api/data/string.vim
_detact autoload/SpaceVim/api/data/number.vim
_detact autoload/SpaceVim/api/vim/buffer.vim
_detact autoload/SpaceVim/api/vim/floatting.vim
_checkdir autoload/SpaceVim/api/neovim
_detact autoload/SpaceVim/api/neovim/floatting.vim
;;
2024-07-26 18:52:40 +08:00
iedit.vim)
2024-07-08 17:45:42 +08:00
git clone https://github.com/wsdjeg/iedit.vim.git detach/$1
cd detach/$1
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/data
_checkdir autoload/SpaceVim/plugins
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/vim/compatible.vim
_detact autoload/SpaceVim/api/vim/highlight.vim
_detact autoload/SpaceVim/api/data/string.vim
_detact autoload/SpaceVim/plugins/iedit.vim
_checkdir autoload/plugin
cat <<EOT > autoload/plugin/iedit.vim
"=============================================================================
" iedit.vim --- multiple cursor support for neovim and vim
" Copyright (c) 2016-2022 Shidong Wang & Contributors
" Author: Shidong Wang < wsdjeg@outlook.com >
" URL: https://github.com/wsdjeg/iedit.vim
" License: MIT license
"=============================================================================
""
" @section Introduction, intro
" @stylized iedit.vim
" @library
" @order intro version dicts functions exceptions layers api faq
" multiple cursor in vim, written in pure vim script for MacVim, gvim and vim version
" 8.0+.
"
command! -nargs=0 Iedit call SpaceVim#plugins#iedit#start()
EOT
_detact LICENSE
_default_readme "iedit.vim" "multiple cussor support for Vim/Neovim"
;;
vim-todo)
git clone https://github.com/wsdjeg/vim-todo.git detach/$1
cd detach/$1
_checkdir syntax/
_detact syntax/SpaceVimTodoManager.vim
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/data
_checkdir autoload/SpaceVim/plugins
_checkdir autoload/SpaceVim/mapping
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/logger.vim
_detact autoload/SpaceVim/api/job.vim
_detact autoload/SpaceVim/api/system.vim
_detact autoload/SpaceVim/api/data/string.vim
_detact autoload/SpaceVim/api/file.vim
_detact autoload/SpaceVim/api/vim/buffer.vim
_detact autoload/SpaceVim/api/vim/regex.vim
_detact autoload/SpaceVim/api/vim/compatible.vim
_detact autoload/SpaceVim/logger.vim
_detact autoload/SpaceVim/mapping/search.vim
_detact autoload/SpaceVim/plugins/todo.vim
_checkdir plugin
cat <<EOT > plugin/todo.vim
"=============================================================================
" todo.vim --- todo manager for SpaceVim
" Copyright (c) 2016-2023 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
command! OpenTodo call todo#open()
EOT
_detact LICENSE
;;
vim-chat)
git clone https://github.com/wsdjeg/vim-chat.git detach/$1
cd detach/$1
_detact LICENSE
_checkdir autoload/SpaceVim/api
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/job.vim
_checkdir autoload/chat/
_detact_bundle vim-chat autoload/chat.vim
_detact_bundle vim-chat autoload/chat/gitter.vim
_detact_bundle vim-chat autoload/chat/logger.vim
_detact_bundle vim-chat autoload/chat/notify.vim
_detact_bundle vim-chat autoload/chat/qq.vim
_detact_bundle vim-chat autoload/chat/weixin.vim
2024-07-08 17:45:42 +08:00
_checkdir doc/
_detact_bundle vim-chat doc/vim-chat.txt
2024-07-08 17:45:42 +08:00
_checkdir syntax/
_detact_bundle vim-chat syntax/vimchat.vim
_detact_bundle vim-chat addon-info.json
_detact_bundle vim-chat README.md
2024-07-08 17:45:42 +08:00
;;
JavaUnit.vim)
git clone https://github.com/wsdjeg/JavaUnit.vim.git detach/$1
cd detach/$1
# _detact LICENSE
# _checkdir autoload/SpaceVim/api
# _detact autoload/SpaceVim/api.vim
# _detact autoload/SpaceVim/api/job.vim
# _checkdir autoload/chat/
_detact_bundle JavaUnit.vim README.md
2024-07-08 17:45:42 +08:00
;;
git.vim)
git clone https://github.com/wsdjeg/git.vim.git detach/$1
cd detach/$1
_checkdir autoload/SpaceVim/api
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/job.vim
_detact_bundle git.vim LICENSE
_detact_bundle git.vim README.md
_detact_bundle git.vim addon-info.json
2024-07-08 17:45:42 +08:00
_checkdir autoload/git/branch
_detact_bundle git.vim autoload/git.vim
_detact_bundle git.vim autoload/git/add.vim
_detact_bundle git.vim autoload/git/blame.vim
_detact_bundle git.vim autoload/git/branch.vim
_detact_bundle git.vim autoload/git/branch/manager.vim
_detact_bundle git.vim autoload/git/checkout.vim
_detact_bundle git.vim autoload/git/cherry_pick.vim
_detact_bundle git.vim autoload/git/clean.vim
_detact_bundle git.vim autoload/git/commit.vim
_detact_bundle git.vim autoload/git/config.vim
_detact_bundle git.vim autoload/git/diff.vim
_detact_bundle git.vim autoload/git/fetch.vim
_detact_bundle git.vim autoload/git/log.vim
_detact_bundle git.vim autoload/git/logger.vim
_detact_bundle git.vim autoload/git/merge.vim
_detact_bundle git.vim autoload/git/mv.vim
_detact_bundle git.vim autoload/git/pull.vim
_detact_bundle git.vim autoload/git/push.vim
_detact_bundle git.vim autoload/git/rebase.vim
_detact_bundle git.vim autoload/git/reflog.vim
_detact_bundle git.vim autoload/git/remote.vim
_detact_bundle git.vim autoload/git/reset.vim
_detact_bundle git.vim autoload/git/rm.vim
_detact_bundle git.vim autoload/git/stash.vim
_detact_bundle git.vim autoload/git/status.vim
2024-07-08 17:45:42 +08:00
_checkdir doc
_detact_bundle git.vim doc/git.txt
2024-07-08 17:45:42 +08:00
_checkdir plugin
_detact_bundle git.vim plugin/git.vim
2024-07-08 17:45:42 +08:00
_checkdir syntax
_detact_bundle git.vim syntax/git-blame.vim
_detact_bundle git.vim syntax/git-commit.vim
_detact_bundle git.vim syntax/git-config.vim
_detact_bundle git.vim syntax/git-log.vim
_detact_bundle git.vim syntax/git-rebase.vim
_detact_bundle git.vim syntax/git-reflog.vim
2024-07-08 17:45:42 +08:00
_checkdir test
_detact_bundle git.vim test/vimrc
2024-07-26 19:12:56 +08:00
_checkdir lua/spacevim/api
_detact lua/spacevim/api/job.lua
_detact lua/spacevim/api/logger.lua
_detact lua/spacevim/api.lua
_detact lua/spacevim/logger.lua
_detact lua/spacevim.lua
_detact lua/spacevim/api/notify.lua
_detact lua/spacevim/api/password.lua
_checkdir lua/git/command
_checkdir lua/git/ui
_detact_bundle git.vim lua/git/init.lua
_detact_bundle git.vim lua/git/log.lua
_detact_bundle git.vim lua/git/command/add.lua
_detact_bundle git.vim lua/git/command/add.lua
_detact_bundle git.vim lua/git/command/blame.lua
_detact_bundle git.vim lua/git/command/branch.lua
_detact_bundle git.vim lua/git/command/checkout.lua
_detact_bundle git.vim lua/git/command/cherry-pick.lua
_detact_bundle git.vim lua/git/command/clean.lua
_detact_bundle git.vim lua/git/command/commit.lua
_detact_bundle git.vim lua/git/command/config.lua
_detact_bundle git.vim lua/git/command/diff.lua
_detact_bundle git.vim lua/git/command/fetch.lua
_detact_bundle git.vim lua/git/command/grep.lua
_detact_bundle git.vim lua/git/command/log.lua
_detact_bundle git.vim lua/git/command/merge.lua
_detact_bundle git.vim lua/git/command/mv.lua
_detact_bundle git.vim lua/git/command/pull.lua
_detact_bundle git.vim lua/git/command/push.lua
_detact_bundle git.vim lua/git/command/rebase.lua
_detact_bundle git.vim lua/git/command/reflog.lua
_detact_bundle git.vim lua/git/command/remote.lua
_detact_bundle git.vim lua/git/command/reset.lua
_detact_bundle git.vim lua/git/command/rm.lua
_detact_bundle git.vim lua/git/command/shortlog.lua
_detact_bundle git.vim lua/git/command/stash.lua
_detact_bundle git.vim lua/git/command/status.lua
_detact_bundle git.vim lua/git/command/tag.lua
_detact_bundle git.vim lua/git/command/update-index.lua
_detact_bundle git.vim lua/git/ui/branch.lua
_detact_bundle git.vim lua/git/ui/remote.lua
2024-07-08 17:45:42 +08:00
;;
vim-cheat)
git clone https://github.com/wsdjeg/vim-cheat.git detach/$1
cd detach/$1
_checkdir plugin/
_checkdir autoload/
_detact LICENSE
_detact_bundle vim-cheat autoload/cheat.vim
_detact_bundle vim-cheat plugin/cheat.vim
_detact_bundle vim-cheat README.md
_detact_bundle vim-cheat .travis.yml
_detact_bundle vim-cheat .vintrc.yaml
2024-07-08 17:45:42 +08:00
_checkdir doc/
_detact_bundle vim-cheat doc/vim-cheat.txt
2024-07-08 17:45:42 +08:00
;;
vim-zettelkasten)
git clone https://github.com/wsdjeg/vim-zettelkasten.git detach/$1
cd detach/$1
_detact LICENSE
_checkdir plugin/
_detact_bundle vim-zettelkasten plugin/zettelkasten.lua
_detact_bundle vim-zettelkasten README.md
_checkdir doc/
_detact_bundle vim-zettelkasten doc/vim-zettelkasten.txt
_checkdir ftdetect
_detact_bundle vim-zettelkasten ftdetect/zettelkasten.lua
_checkdir ftplugin
_detact_bundle vim-zettelkasten ftplugin/markdown.lua
_detact_bundle vim-zettelkasten ftplugin/zkbrowser.lua
_detact_bundle vim-zettelkasten ftplugin/zktagstree.lua
_checkdir lua/zettelkasten
_detact_bundle vim-zettelkasten lua/zettelkasten.lua
_detact_bundle vim-zettelkasten lua/zettelkasten/browser.lua
_detact_bundle vim-zettelkasten lua/zettelkasten/config.lua
_detact_bundle vim-zettelkasten lua/zettelkasten/formatter.lua
_detact_bundle vim-zettelkasten lua/zettelkasten/log.lua
_detact_bundle vim-zettelkasten lua/zettelkasten/sidebar.lua
_checkdir test/
_detact_bundle vim-zettelkasten test/init.vim
_checkdir lua/telescope/_extensions
_detact_bundle vim-zettelkasten lua/telescope/_extensions/zettelkasten_tags.lua
_detact_bundle vim-zettelkasten lua/telescope/_extensions/zettelkasten_template.lua
# detach spacevim core files
_checkdir lua/spacevim
_checkdir lua/spacevim/api
_detact lua/spacevim.lua
_detact lua/spacevim/logger.lua
_detact lua/spacevim/api.lua
_detact lua/spacevim/api/logger.lua
_detact lua/spacevim/api/notify.lua
_detact lua/spacevim/api/password.lua
_checkdir autoload/SpaceVim/api
_checkdir autoload/SpaceVim/api/neovim
_checkdir autoload/SpaceVim/api/vim
_checkdir autoload/SpaceVim/api/data
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/notify.vim
_detact autoload/SpaceVim/api/neovim/floating.vim
_detact autoload/SpaceVim/api/vim/floating.vim
_detact autoload/SpaceVim/api/data/dict.vim
;;
2024-07-08 17:45:42 +08:00
xmake.vim)
git clone https://github.com/wsdjeg/xmake.vim.git detach/$1
cd detach/$1
_checkdir plugin/
_detact_bundle xmake.vim plugin/xmake.vim
_detact_bundle xmake.vim plugin/xmgen.py
2024-07-08 17:45:42 +08:00
_checkdir autoload/
_detact_bundle xmake.vim autoload/xmake.vim
_detact_bundle xmake.vim autoload/spy.lua
2024-07-08 17:45:42 +08:00
_detact LICENSE
_default_readme "xmake.vim" "xmake support for neovim/vim"
_checkdir autoload/xmake/
_detact_bundle xmake.vim autoload/xmake/log.vim
2024-07-08 17:45:42 +08:00
_checkdir doc/
_detact_bundle xmake.vim doc/xmake.txt
2024-07-08 17:45:42 +08:00
_checkdir UltiSnips/
_detact_bundle xmake.vim UltiSnips/lua.snippets
2024-07-08 17:45:42 +08:00
_checkdir rplugin/python3/deoplete/sources/docs/
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/xmake.py
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_defines
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_defines
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_deps
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_files
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_headers
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_includedirs
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_linkdirs
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_links
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_subdirs
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/is_os
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/is_plat
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_basename
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_headerdir
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_kind
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_languages
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_objectdir
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_optimize
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_project
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_strip
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_symbols
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_targetdir
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_warnings
2024-07-08 17:45:42 +08:00
;;
scrollbar.vim)
git clone https://github.com/wsdjeg/scrollbar.vim.git detach/$1
cd detach/$1
_checkdir autoload/SpaceVim/api/
_checkdir autoload/SpaceVim/api/vim
2024-08-03 16:08:57 +08:00
_checkdir autoload/SpaceVim/api/neovim
_checkdir autoload/SpaceVim/api/data
2024-07-08 17:45:42 +08:00
_detact autoload/SpaceVim/api.vim
_detact autoload/SpaceVim/api/vim.vim
2024-08-03 16:08:57 +08:00
_detact autoload/SpaceVim/api/system.vim
2024-08-03 14:02:12 +08:00
_detact autoload/SpaceVim/api/logger.vim
_detact autoload/SpaceVim/api/time.vim
2024-08-03 16:08:57 +08:00
_detact autoload/SpaceVim/api/vim/compatible.vim
2024-07-08 17:45:42 +08:00
_detact autoload/SpaceVim/api/vim/buffer.vim
_detact autoload/SpaceVim/api/vim/window.vim
2024-08-03 16:08:57 +08:00
_detact autoload/SpaceVim/api/vim/floating.vim
_detact autoload/SpaceVim/api/vim/highlight.vim
_detact autoload/SpaceVim/api/neovim/floating.vim
_detact autoload/SpaceVim/api/data/dict.vim
_detact autoload/SpaceVim/api/data/string.vim
2024-07-08 17:45:42 +08:00
_checkdir autoload/SpaceVim/plugins/
_detact autoload/SpaceVim/plugins/scrollbar.vim
_detact LICENSE
_detact_bundle scrollbar.vim README.md
2024-07-30 18:53:14 +08:00
_checkdir plugin
_detact_bundle scrollbar.vim plugin/scrollbar.vim
2024-08-04 10:01:05 +08:00
_checkdir test
_detact_bundle scrollbar.vim test/vimrc
2024-07-30 18:57:14 +08:00
_checkdir lua/spacevim/plugin
_detact lua/spacevim/plugin/scrollbar.lua
_checkdir lua/spacevim/api/vim
_detact lua/spacevim/api/vim/buffer.lua
_detact lua/spacevim/api/vim/window.lua
2024-08-03 14:02:12 +08:00
_detact autoload/SpaceVim/logger.vim
2024-07-08 17:45:42 +08:00
;;
2024-07-26 18:52:40 +08:00
GitHub.vim)
2024-07-08 17:45:42 +08:00
git clone https://github.com/wsdjeg/GitHub.vim.git detach/$1
cd detach/$1
_checkdir plugin/
_checkdir autoload/
_detact LICENSE
_detact_bundle github.vim autoload/github.vim
_detact_bundle github.vim plugin/github.vim
2024-07-08 17:45:42 +08:00
_default_readme "GitHub.vim" "GitHub API support for neovim/vim[wip]"
_checkdir doc/
_detact_bundle github doc/github.txt
2024-07-08 17:45:42 +08:00
;;
esac
2024-07-26 18:52:40 +08:00
git add .
git config user.email "eric@wsdjeg.net"
git config user.name "Eric Wong"
git commit -m "${SpaceVim_COMMIT_MSG}"
git remote add wsdjeg_$1 https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/$1.git
git push wsdjeg_$1 master
cd -
rm -rf detach/$1
exit 0
2024-07-08 17:45:42 +08:00
}
main $@