mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-13 22:47:59 +08:00
docs(nvim-plug): update readme
This commit is contained in:
parent
e80046552b
commit
7071473003
32
bundle/nvim-plug/README.md
vendored
32
bundle/nvim-plug/README.md
vendored
@ -10,24 +10,23 @@
|
||||
## Usage
|
||||
|
||||
```lua
|
||||
require("plug").setup({
|
||||
|
||||
bundle_dir = "D:\\bundle_dir\\",
|
||||
require('plug').setup({
|
||||
bundle_dir = 'D:/bundle_dir',
|
||||
})
|
||||
|
||||
require("plug").add({
|
||||
{
|
||||
"wsdjeg/scrollbar.vim",
|
||||
events = { "VimEnter" },
|
||||
config = function() end,
|
||||
},
|
||||
{
|
||||
"wsdjeg/flygrep.nvim",
|
||||
cmds = { "FlyGrep" },
|
||||
config = function()
|
||||
require("flygrep").setup()
|
||||
end,
|
||||
},
|
||||
require('plug').add({
|
||||
{
|
||||
'wsdjeg/scrollbar.vim',
|
||||
events = { 'VimEnter' },
|
||||
config = function() end,
|
||||
},
|
||||
{
|
||||
'wsdjeg/flygrep.nvim',
|
||||
cmds = { 'FlyGrep' },
|
||||
config = function()
|
||||
require('flygrep').setup()
|
||||
end,
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
@ -39,6 +38,7 @@ require("plug").add({
|
||||
| `cmds` | `table<string>`, commands lazy loading |
|
||||
| `events` | `table<string>`, events lazy loading |
|
||||
| `on_ft` | `table<string>`, filetypes lazy loading |
|
||||
| `type` | `string`, plugin type including `color`, `plugin` |
|
||||
|
||||
## Commands
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user