Commit Graph

544 Commits

Author SHA1 Message Date
Junegunn Choi
5698a055c3 Minor refactoring 2015-02-22 11:41:27 +09:00
Junegunn Choi
59748b0680 Fix error on windows when plug home contains spaces (#154)
Also fixes blank command output.
2015-02-22 03:53:24 +09:00
Junegunn Choi
95aa96a884 Interpret the second argument to Plug command as tag option
The older documentation of vim-plug suggested that the second string
parameter to Plug command was for both branches and tags. But we've
realized that tags and branches are not interchangeable (#174), and it
is now recommended that the user explicitly specify whether it's a
branch or a tag. The now-undocumented second parameter is currently for
branches, but I'd like to change it for tags, as the use of tags are
much more common.
2015-02-21 12:26:11 +09:00
Junegunn Choi
bb48508c3e Fix #177 - Check Python version >= 2.7 2015-02-21 03:47:58 +09:00
Junegunn Choi
8a525f165c Merge pull request #165 from starcraftman/new_pr_branch
Python parallel plugin management.
2015-02-19 00:26:40 +09:00
Jeremy Pallats/starcraft.man
e362fd5931 Python parallel plugin management.
* Main differences from ruby are inside Command class, notably it
poll/sleeps on the subprocess to check output & timeout.
* Another difference, interrupt is not instaneous due to checking var.
* Otherwise, I mainly just mirrored code into objects.
* Note that due to GVim freeze, disabling use on Windows
2015-02-18 10:07:35 -05:00
Junegunn Choi
74169f3761 Merge pull request #175 from junegunn/tag-vs-branch
Fix #174 - Error when updating tagged plugins
2015-02-18 17:27:14 +09:00
Junegunn Choi
7e4191baaf Fix update of tagged plugins (#174) 2015-02-18 16:47:32 +09:00
Junegunn Choi
753f7be798 Extend Travis CI build to use vim-nox on Ubuntu 12.04 2015-02-18 16:47:17 +09:00
Junegunn Choi
c74fae9f8e Revert "Use :pgroup option when starting subprocesses"
This reverts commit 308fb9bc94.
2015-02-17 20:59:22 +09:00
Junegunn Choi
fc200da975 Add o key binding for PlugDiff 2015-02-17 14:09:07 +09:00
Junegunn Choi
77f58a3793 Merge pull request #169 from junegunn/ruby-pgroup
Use :pgroup option when starting subprocesses
2015-02-17 11:52:46 +09:00
Junegunn Choi
308fb9bc94 Use :pgroup option when starting subprocesses
This makes it easier and faster to kill spawned git processes.
Repetitive `pgrep` command for collecting PIDs is no longer required.
Unfortunately, :pgroup option is not supported on Ruby 1.8 so we can't
remove the old implementation of `killall`.
2015-02-17 11:43:39 +09:00
Junegunn Choi
4a96db8971 Restore $GIT_TERMINAL_PROMPT in s:update_finish
Fix for asynchronous installer of Neovim
2015-02-15 21:24:33 +09:00
Junegunn Choi
925ec7b325 Merge pull request #168 from junegunn/git-no-prompt
Do not inject `git::` to url when git 2.3.0 or above found
2015-02-15 21:06:38 +09:00
Junegunn Choi
7fec10e088 Remove git::@ from URI if git 2.3.0 or above is found
Related: #161, #133, #109
2015-02-15 18:48:57 +09:00
Junegunn Choi
54fc8a4fc7 Add test case for unescaped spaces in &rtp 2015-02-14 23:18:57 +09:00
Junegunn Choi
9c1cca32f0 Do not escape spaces in &rtp
Related: https://github.com/SirVer/ultisnips/issues/445
2015-02-14 23:11:20 +09:00
Junegunn Choi
f6be60a9a5 Use v:version == 702 && has('patch374')
Thanks to @justinmk
2015-02-13 16:09:01 +09:00
Junegunn Choi
e81e761d43 Fix #166 - v:version >= 703 || has('patch-7.2.374') 2015-02-13 14:20:16 +09:00
Junegunn Choi
fb84e6b11c Fix typo 2015-02-12 11:38:48 +09:00
Junegunn Choi
ef784c17b1 Fix #154 - issues with paths containing spaces 2015-02-12 11:35:05 +09:00
Junegunn Choi
7aeff0ef0d Disable Ruby installer when without patch-7.2.374 (#162) 2015-02-10 12:09:46 +09:00
Junegunn Choi
773b3cadd0 Do not use --progress option on git 1.7.0 or below (#162) 2015-02-10 01:48:54 +09:00
Junegunn Choi
71542dd896 Do not use --progress option when not necessary
Patch suggested by @sangh. Fix #162 and #163.
2015-02-09 12:12:50 +09:00
Junegunn Choi
f825e4ef6e Ignore error when the buffer is not properly initialized (#162) 2015-02-09 12:09:27 +09:00
Junegunn Choi
6e7509e2ef Update PlugClean for Gist plugins
In order to install Gist as a plugin, you have to modify its `dir` to be
the `plugin` subdirectory of the normal path of the plugin if it were an
ordinary pathogen-compatible Vim plugin.

    Plug 'https://gist.github.com/952560a43601cd9898f1.git',
        \ { 'dir': g:plug_home.'/xxx/plugin', 'rtp': '..' }

PlugClean command was incompatible with the above trick, so it was
updated not to remove the parent directory of `dir` of each plugin.
2015-02-08 14:47:19 +09:00
Junegunn Choi
619e42a182 Merge pull request #160 from junegunn/fix-159
Fix #159 - Avoid errors on tcsh and fish
2015-02-08 01:15:49 +09:00
Junegunn Choi
48e8000b6a Use /bin/sh instead of /bin/bash (PlugSnapshot) 2015-02-08 01:08:18 +09:00
Junegunn Choi
79da5b2654 Fix #159 by temporarily setting &shell to sh 2015-02-07 13:36:45 +09:00
Junegunn Choi
61f010ffad Update README - curl --create-dirs 2015-02-01 03:19:00 +09:00
Junegunn Choi
4539bb8fb3 Update README - Pros. 2015-02-01 03:11:58 +09:00
Junegunn Choi
7d40f592af Fix #155 - cd /d on Windows 2015-01-29 19:08:03 +09:00
Junegunn Choi
1c61517164 Merge pull request #152 from michamos/patch-1
Clarify messages after 'PlugUpgrade'
2015-01-26 18:50:51 +09:00
Micha Moskovic
061b326b37 Clarify messages after 'PlugUpgrade' 2015-01-26 10:46:20 +01:00
Junegunn Choi
166426718e Merge pull request #147 from Pyrohh/simplify-nvim-check
Simplify neovim check
2015-01-18 11:38:49 +09:00
Michael Reed
b440603fa9 Simplify neovim check 2015-01-17 16:38:50 -05:00
Junegunn Choi
04fc8f9aba Fix #145 - Merge duplicate on-demand loading triggers 2015-01-17 17:20:37 +09:00
Junegunn Choi
ebe8635043 Merge pull request #143 from junegunn/fix-139
Fix #139 - Use git fetch+merge instead of pull
2015-01-09 09:53:36 +09:00
Junegunn Choi
334e820c4e Add more test cases for #139 2015-01-09 00:56:52 +09:00
Junegunn Choi
0e9fa672f8 Fix #139 - Use git fetch+merge instead of pull 2015-01-08 23:21:32 +09:00
Junegunn Choi
fdf1e53da5 Change test code to use local repositories 2015-01-07 20:14:48 +09:00
Junegunn Choi
470139cd86 Update README 2014-12-18 23:53:32 +09:00
Junegunn Choi
e8cd357060 Fix test failure 2014-12-13 11:51:37 +09:00
Junegunn Choi
3606c294de Merge pull request #135 from threeifbywhiskey/confirmation-convention
Downcase opt-in confirmation options
2014-12-08 23:58:05 +09:00
Dorien Snake
06f903d8af Downcase opt-in confirmation options
There's a fairly widespread convention which recommends indicating the default
confirmation option in uppercase. Granted, the number of applicable instances
in vim-plug is currently only two, but perhaps this'll save users with such an
inclination having to hit Enter just to sate their curiosities.
2014-12-08 08:49:45 -05:00
Junegunn Choi
1f704deb76 Merge branch 'master' of github.com:junegunn/vim-plug 2014-12-08 17:37:46 +09:00
Junegunn Choi
3ebf6361bf Update README 2014-12-08 17:37:26 +09:00
Junegunn Choi
9b99c1f885 Merge pull request #134 from wilywampa/master
Check for full match of command name
2014-12-08 10:02:09 +09:00
Jacob Niehus
53cc8a53d9 Check for full match of command name 2014-12-07 13:19:09 -07:00