mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Updated faq (markdown)
parent
6cbca153ae
commit
b141a207ae
14
faq.md
14
faq.md
@ -65,5 +65,17 @@ repository.
|
||||
### Does vim-plug generate help tags for my plugins' docs?
|
||||
|
||||
Yes, it automatically generates help tags for all of your plugins when you run `PlugInstall` or `PlugUpdate`.
|
||||
But you can regenerate help tags only with `plug#helptags()` function.
|
||||
|
||||
~~TBD: plug#helptags~~
|
||||
### Lazy-load a plugin manually
|
||||
|
||||
You can use `plug#load(names...)` function. The following example will load ultisnips first time you enter insert mode.
|
||||
|
||||
```vim
|
||||
Plug 'SirVer/ultisnips', { 'on': [] }
|
||||
|
||||
augroup load_ultisnips
|
||||
autocmd!
|
||||
autocmd InsertEnter * call plug#load('ultisnips') | autocmd! load_ultisnips
|
||||
augroup END
|
||||
```
|
Loading…
Reference in New Issue
Block a user