mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Updated api (markdown)
parent
91c0b0abe5
commit
af9a65dea7
32
api.md
32
api.md
@ -1,17 +1,17 @@
|
|||||||
## API
|
## API
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
|
|
||||||
| Function | Description |
|
| Function | Description |
|
||||||
| -------- | ----------- |
|
| -------- | ----------- |
|
||||||
| `plug#begin(path)` | Start vim-plug block |
|
| `plug#begin(path)` | Start vim-plug block |
|
||||||
| `plug#end()` | End block, update &rtp, and load plugins when not `vim_starting` |
|
| `plug#end()` | End block, update &rtp, and load plugins when not `vim_starting` |
|
||||||
| `plug#helptags()` | Regenerate help tags for all plugins |
|
| `plug#helptags()` | Regenerate help tags for all plugins |
|
||||||
| `plug#load(names...)` | Load the plugins immediately |
|
| `plug#load(names...)` | Load the plugins immediately |
|
||||||
|
|
||||||
### Global variables
|
### Global variables (read-only)
|
||||||
|
|
||||||
| Variable | Type | Description |
|
| Variable | Type | Description |
|
||||||
| -------- | ---- | ----------- |
|
| -------- | ---- | ----------- |
|
||||||
| `g:plug_home` | String | Directory to store/load plugins. Set by `plug#begin(path)` call. |
|
| `g:plug_home` | String | Directory to store/load plugins. Set by `plug#begin(path)` call. |
|
||||||
| `g:plugs` | Dict | Information of plugins. Initialized by `plug#begin(path)` and incrementally set by `Plug` commands. |
|
| `g:plugs` | Dict | Information of plugins. Initialized by `plug#begin(path)` and incrementally set by `Plug` commands. |
|
Loading…
Reference in New Issue
Block a user