-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
If a local directory is specified as the plugin path, and that directory is not managed by Git, running :JetpackSync will delete that directory.
It appears that the 'jetpack#clean_plugins()' function, which should only apply to remote plugins, is also being applied to local folders.
Reproduction Code
packadd vim-jetpack
call jetpack#begin()
Jetpack 'tani/vim-jetpack'
" ~/path/to/dir will be deleted.
Jetpack '~/path/to/dir'
" DO NOT EXECUTE:
" If you execute this, all of the user's home directory will be deleted.
"Jetpack '~'
call jetpack#end()Note
I was unable to find information regarding the behavior when specifying a local directory in the README or help files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels