Christian Brabandt
d85465cb7e
don't error out early, if git not exists
...
Even if git is not available, one can still use plug.vim
for managing the runtime path.
This allows, to share the same config with several vim instances, some
of which, might not have vim installed (or not have it in $PATH). The
commands `:Plug` and `:PlugClean` seem to be safe even in this case.
Unfortunately in that case, plug.vim errors out on every start.
So let's just move the check for the existance of git to the place,
where it is actually needed.
In theory, we can also just move the check `:if excutable('git')` around
the definition of the all commands that need git, so they would be only
defined on systems that have git installed. But I actually like the way,
how the commands will always be defined, but they error out once one
tries to execute them.
2016-01-27 23:33:10 +01:00
Junegunn Choi
c88ab60007
Merge pull request #387 from junegunn/as
...
Add 'as' option
2016-01-26 03:39:21 +09:00
Junegunn Choi
7d494b4a7b
Add 'as' option ( #371 )
2016-01-26 03:01:20 +09:00
Junegunn Choi
676174c34d
Merge pull request #386 from srstevenson/conditional-syntax-highlighting
...
Only highlight vim-plug buffers if syntax highlighting is enabled
2016-01-25 13:14:03 +09:00
Scott Stevenson
6f60192d71
Only highlight vim-plug buffers if syntax enabled
...
Previously, syntax highlighting was turned on unconditionally in the
buffers opened by commands such as `:PlugUpdate`. With this commit,
highlighting is not applied if the user has disabled syntax highlighting
by calling `syntax off` after `call plug#end()` in their `vimrc`.
2016-01-24 21:40:24 +00:00
Jeremy Pallats/starcraft.man
7e7dec9252
Merge pull request #381 from starcraftman/powershell_path
...
Fix powershell command.
2016-01-18 10:24:43 -05:00
Jeremy Pallats/starcraft.man
13234b4029
Fix powershell command.
2016-01-18 10:19:06 -05:00
Junegunn Choi
03504f26b1
Update README - description on plug#end()
...
plug#end() does more than just updating &runtimepath. Close #379 .
2016-01-14 13:16:05 +09:00
Junegunn Choi
46dda37494
Merge pull request #376 from beatrupp/patch-3
...
Add hint for Neovim configuration path
2016-01-11 03:09:07 +09:00
Beat Rupp
fa2569dc84
Add hint for Neovim configuration path
2016-01-10 19:05:23 +01:00
Junegunn Choi
fe0ff38cd9
Update YCM instruction on README
...
Close #372
2016-01-04 02:06:50 +09:00
Junegunn Choi
77413875da
Amend comment section
2015-12-23 13:17:34 +09:00
Junegunn Choi
f695463daf
Merge pull request #366 from junegunn/diff-origin
...
PlugDiff to show pending updates as well
2015-12-23 13:16:27 +09:00
Junegunn Choi
e6f40479ee
PlugDiff to show pending updates as well
...
Related: #348
2015-12-23 13:12:06 +09:00
Junegunn Choi
6843e5aeec
Merge pull request #361 from junegunn/snapshot-in-vimscript
...
PlugSnapshot output in Vim script format (#360 )
2015-12-17 23:34:37 +09:00
Junegunn Choi
0cfa683cd0
PlugSnapshot output in Vim script format ( #360 )
...
- The output file is no longer executable but a source-able vim script
- PlugSnapshot FILENAME to prompt the user if the file already exists
- Add PlugSnapshot! FILENAME variant to force overwrite existing file
- Apply -complete=file option to PlugSnapshot command
2015-12-17 16:06:19 +09:00
Junegunn Choi
e929534199
Fix #362 - Do not show future changes in PlugDiff
2015-12-16 22:56:57 +09:00
Junegunn Choi
52d7da3925
Fix #355 - PlugSnapshot to create scripts that disable shallow-clone
2015-12-14 23:16:50 +09:00
Jeremy Pallats/starcraft.man
cd26cd562e
Merge pull request #357 from starcraftman/win_cd
...
Fix #353 : Not Working On Windows
2015-12-13 14:26:22 -05:00
Jeremy Pallats/starcraft.man
24a71f9a91
Fix #353 : Not Working On Windows
...
* First fix was only partial, allow drive letter changes.
2015-12-13 14:11:42 -05:00
Jeremy Pallats/starcraft.man
b836656556
Merge pull request #354 from starcraftman/trail_slash
...
Fix #353 : Not Working On Windows
2015-12-13 13:31:59 -05:00
Jeremy Pallats/starcraft.man
7f598e5b58
Fix #353 : Not Working On Windows
...
* Trailing slash appears to break clone command.
2015-12-13 13:10:06 -05:00
Junegunn Choi
87b426e381
Fix #350 - Tagged plugin should be unshallowed on update
...
Ruby installer failed to do so due to invalid escaping
2015-12-11 23:11:21 +09:00
Junegunn Choi
ba97f4458e
Merge pull request #342 from mattn/windows
2015-12-10 01:04:05 +09:00
Yasuhiro Matsumoto
060c0e6d6c
Enable multi-thread on windows
...
Specify PIPE as stdin for subprocess.Pipe for gvim.exe.
Also fixes some ruby implementation.
* windows doesn't have pgrep.
* windows can't handle SIGTERM.
* windows can't handle /dev/null
* redraw always
2015-12-10 01:00:42 +09:00
Jeremy Pallats/starcraft.man
80e5b3eab5
Merge pull request #345 from starcraftman/fix_msys
...
Merging fix for msys2.
2015-12-06 12:06:32 -05:00
Jeremy Pallats/starcraft.man
aae282e4f0
Fix msys2: prepend cd to commands
2015-12-06 11:50:37 -05:00
Junegunn Choi
7cdd4036de
Fix nvim output format ( #340 )
2015-12-06 01:15:28 +09:00
Jeremy Pallats/starcraft.man
173bfea4c5
Merge pull request #337 from starcraftman/power_readme
...
Ensure CWD isn't a factor for powershell command.
2015-11-29 15:59:58 -05:00
Jeremy Pallats/starcraft.man
c233234bd9
Ensure CWD isn't a factor for powershell command.
2015-11-29 15:56:13 -05:00
Junegunn Choi
84faabe4cc
Bind q to :bd
...
Close #336 . Also remove unnecessary echo.
2015-11-29 22:12:55 +09:00
Junegunn Choi
6173ecc210
Merge pull request #334 from starcraftman/update_travis
...
Migrate travis to use new docker system.
2015-11-29 03:44:24 +09:00
Jeremy Pallats/starcraft.man
dbd045e995
Migrate travis to use new docker system.
...
* Travis now installs built vim into $DEPS.
* test/run now detects best vim to use.
* python: Fix small display issue with error messages.
2015-11-28 13:39:22 -05:00
Junegunn Choi
0611369d0d
Update installation instruction ( #329 )
2015-11-28 14:00:19 +09:00
Jeremy Pallats/starcraft.man
d478351363
Merge pull request #329 from starcraftman/xanderdunn-patch-1
...
Add install directions for using neovim
2015-11-26 09:58:28 -05:00
Xander Dunn
8381041ac1
Add install directions for using neovim
...
Neovim's autoload directory path is now considerably different from vim's.
2015-11-26 09:50:35 -05:00
Jeremy Pallats/starcraft.man
93d9e434a2
Merge pull request #324 from starcraftman/fix_freeze
...
Fix #318 : Freezes on PlugInstall
2015-11-24 18:47:56 -05:00
Jeremy Pallats/starcraft.man
c3bcd95459
Fix #318 : Freezes on PlugInstall
2015-11-24 16:06:42 -05:00
Jeremy Pallats/starcraft.man
f820fb9f0d
Merge pull request #319 from starcraftman/timjk-patch-1
...
Add windows install instructions
2015-11-20 21:17:31 -05:00
Tim Jackson-Kiely
072d28e86e
Add windows install instructions
2015-11-20 21:03:34 -05:00
Junegunn Choi
8fb0efe4e5
Merge pull request #316 from junegunn/commit-hash
...
Add support for commit hashes
2015-11-20 15:54:36 +09:00
Junegunn Choi
e11e045577
Add support for commit hashes
...
Close #315
2015-11-20 03:38:58 +09:00
Junegunn Choi
e00be1b493
Enhance post-update hook output
2015-11-19 01:23:35 +09:00
Junegunn Choi
38e1e6335c
Case-sensitive validation of on arguments ( #314 )
2015-11-15 22:43:25 +09:00
Junegunn Choi
0c710f75f4
Prepend [vim-plug] to error messages
2015-11-15 22:41:30 +09:00
Junegunn Choi
8292b3f31a
Update usage examples
2015-11-08 22:41:37 +09:00
Junegunn Choi
26e4a77317
Merge pull request #307 from agauniyal/patch-1
...
Add a non-master branch example
2015-10-29 01:39:48 +09:00
Abhinav Gauniyal
dd28fc7368
Add a non-master branch example
2015-10-28 22:00:15 +05:30
Junegunn Choi
fb8a5f9246
Post-update hook should not run in case of an error
2015-10-22 13:23:35 +09:00
Jeremy Pallats/starcraft.man
eb29cc9b47
Merge pull request #285 from starcraftman/thrd_join
...
Join a thread instead of sleeping
2015-09-21 15:52:03 -04:00