From 9b66af83606b95247921052fab875e9531676496 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 7 Feb 2025 13:19:27 +0800 Subject: [PATCH] docs(nvim-plug): update readme --- bundle/nvim-plug/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundle/nvim-plug/README.md b/bundle/nvim-plug/README.md index 79e0f5b3b..1e1bc075a 100644 --- a/bundle/nvim-plug/README.md +++ b/bundle/nvim-plug/README.md @@ -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`, events lazy loading | | `on_ft` | `table`, filetypes lazy loading | | `on_map` | `table`, key bindings lazy loading | +| `on_func` | `string` or `table`, vim function lazy loading | | `type` | `string`, plugin type including `color`, `plugin` | | `build` | `string` or `table`, executed by [job](https://spacevim.org/api/job/) api | | `enabled` | `boolean` or `function` evaluated when startup, when it is false, plugin will be skiped |