mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 02:18:00 +08:00
docs(nvim-plug): update readme
This commit is contained in:
parent
fa8ebb30c7
commit
9b66af8360
5
bundle/nvim-plug/README.md
vendored
5
bundle/nvim-plug/README.md
vendored
@ -66,6 +66,10 @@ require('plug').add({
|
||||
'D:/wsdjeg/winbar.nvim',
|
||||
events = { 'VimEnter' },
|
||||
},
|
||||
{
|
||||
'wsdjeg/vim-mail',
|
||||
on_func = 'mail#',
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
@ -78,6 +82,7 @@ require('plug').add({
|
||||
| `events` | `table<string>`, events lazy loading |
|
||||
| `on_ft` | `table<string>`, filetypes lazy loading |
|
||||
| `on_map` | `table<string>`, key bindings lazy loading |
|
||||
| `on_func` | `string` or `table<string>`, vim function lazy loading |
|
||||
| `type` | `string`, plugin type including `color`, `plugin` |
|
||||
| `build` | `string` or `table<string>`, executed by [job](https://spacevim.org/api/job/) api |
|
||||
| `enabled` | `boolean` or `function` evaluated when startup, when it is false, plugin will be skiped |
|
||||
|
Loading…
Reference in New Issue
Block a user