1
0
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:
Eric Wong 2025-02-07 13:19:27 +08:00
parent fa8ebb30c7
commit 9b66af8360
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -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 |