mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-09 18:34:44 +08:00
Implement task timeout with default timeout 60 sec (#5)
Terminating a task during its execution can leave the directory in an invalid state. PlugClean command was updated as well to handle invalid directories.
This commit is contained in:
@@ -65,7 +65,12 @@ plugins with `plug#begin(path)` call.
|
||||
| PlugUpgrade | Upgrade vim-plug itself |
|
||||
| PlugStatus | Check the status of plugins |
|
||||
|
||||
(Default number of threads = `g:plug_threads` or 16)
|
||||
### Options for parallel installer
|
||||
|
||||
| Flag | Default | Description |
|
||||
| ---------------- | ------- | --------------------------------- |
|
||||
| `g:plug_threads` | 16 | Default number of threads to use |
|
||||
| `g:plug_timeout` | 60 | Time limit of each task in seconds |
|
||||
|
||||
### Dependency resolution
|
||||
|
||||
|
||||
Reference in New Issue
Block a user