mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Updated faq (markdown)
parent
7339b75e7d
commit
5e29521187
4
faq.md
4
faq.md
@ -155,9 +155,9 @@ Yes, it automatically generates help tags for all of your plugins whenever you r
|
|||||||
|
|
||||||
_"Premature optimization is the root of all evil."_
|
_"Premature optimization is the root of all evil."_
|
||||||
|
|
||||||
You most likely don't need them at all. A properly implemented Vim plugin should already load lazily without any help from the plugin manager (`:help autoload`). There are very few cases where those options actually make much sense. On-demand loading should only be used as the last resort. It is basically a hacky workaround and is not guaranteed to work in every case.
|
You most likely don't need them at all. A properly implemented Vim plugin should already load lazily without any help from the plugin manager (`:help autoload`). There are very few cases where those options actually make much sense. On-demand loading should only be used as the last resort. It is basically a hacky workaround and is not always guaranteed to work.
|
||||||
|
|
||||||
Before applying the options, break down the startup of time of Vim using `--startuptime` first to identify the plugins that takes more than a few milliseconds.
|
Before applying the options, make sure that you're tackling the right problem by breaking down the startup of time of Vim using `--startuptime`. See if there are plugins that take more than a few milliseconds.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
vim --startuptime /tmp/log
|
vim --startuptime /tmp/log
|
||||||
|
Loading…
Reference in New Issue
Block a user