1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

docs(custom_plugins): add doc for adding multiple plugins

ref https://github.com/SpaceVim/SpaceVim/issues/73
This commit is contained in:
wsdjeg 2022-04-04 18:17:36 +08:00
parent bc04a4d342
commit 1144ada6c9
2 changed files with 24 additions and 0 deletions

View File

@ -307,6 +307,18 @@ git -C ~/.SpaceVim pull
除了 `on_cmd` 以外,还有一些其它的选项,可以通过
`:h dein-options` 查阅。
如果需要添加多个自定义插件,可以参考如下设置:
```toml
[[custom_plugins]]
repo = 'lilydjwg/colorizer'
merged = false
[[custom_plugins]]
repo = 'joshdick/onedark.vim'
merged = false
```
**禁用插件**
SpaceVim 默认安装了一些插件,如果需要禁用某个插件,可以通过 `~/.SpaceVim.d/init.toml``[options]` 片段中的 `disabled_plugins` 这一选项来操作:

View File

@ -299,6 +299,18 @@ You can also use the url of the repository, for example:
merged = false
```
For adding multiple custom plugins:
```toml
[[custom_plugins]]
repo = 'lilydjwg/colorizer'
merged = false
[[custom_plugins]]
repo = 'joshdick/onedark.vim'
merged = false
```
**disable existing plugins**
If you want to disable plugins which are added by SpaceVim,