From 3983985565c093bf63ce4338476d4750109d9fc0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 9 Aug 2014 07:56:42 -0700 Subject: [PATCH] Updated api (markdown) --- api.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/api.md b/api.md index b859921..3261445 100644 --- a/api.md +++ b/api.md @@ -1,8 +1,17 @@ ## API +### Functions + | Function | Description | | -------- | ----------- | | `plug#begin(path)` | Start vim-plug block | | `plug#end()` | End block, update &rtp, and load plugins when not `vim_starting` | | `plug#helptags()` | Regenerate help tags for all plugins | -| `plug#load(names...)` | Load the plugins immediately | \ No newline at end of file +| `plug#load(names...)` | Load the plugins immediately | + +### Global variables + +| Variable | Type | Description | +| -------- | ---- | ----------- | +| `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()` and incrementally set by `Plug` commands | \ No newline at end of file