mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-14 06:58:00 +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
|
## Usage
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
require("plug").setup({
|
require('plug').setup({
|
||||||
|
bundle_dir = 'D:/bundle_dir',
|
||||||
bundle_dir = "D:\\bundle_dir\\",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
require("plug").add({
|
require('plug').add({
|
||||||
{
|
{
|
||||||
"wsdjeg/scrollbar.vim",
|
'wsdjeg/scrollbar.vim',
|
||||||
events = { "VimEnter" },
|
events = { 'VimEnter' },
|
||||||
config = function() end,
|
config = function() end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"wsdjeg/flygrep.nvim",
|
'wsdjeg/flygrep.nvim',
|
||||||
cmds = { "FlyGrep" },
|
cmds = { 'FlyGrep' },
|
||||||
config = function()
|
config = function()
|
||||||
require("flygrep").setup()
|
require('flygrep').setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,6 +38,7 @@ require("plug").add({
|
|||||||
| `cmds` | `table<string>`, commands lazy loading |
|
| `cmds` | `table<string>`, commands lazy loading |
|
||||||
| `events` | `table<string>`, events lazy loading |
|
| `events` | `table<string>`, events lazy loading |
|
||||||
| `on_ft` | `table<string>`, filetypes lazy loading |
|
| `on_ft` | `table<string>`, filetypes lazy loading |
|
||||||
|
| `type` | `string`, plugin type including `color`, `plugin` |
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user