Junegunn Choi
d9b70554e3
Merge pull request #187 from junegunn/python-2.6
...
Python 2.6 compatibility
2015-03-08 02:40:28 +09:00
Junegunn Choi
3c6ac68947
Python 2.6 compatibility
...
Tested on
- Vim 7.2.330
- Python 2.6.5
- Ubuntu 10.04
- https://gist.github.com/junegunn/863dcbd78eadece788cd
2015-03-08 02:00:06 +09:00
Junegunn Choi
51dc024b2e
Update README (markdown table)
2015-02-27 18:56:30 +09:00
Junegunn Choi
30a2c5cc14
Remove uniq() function from test code
2015-02-25 22:44:18 +09:00
Junegunn Choi
a34b745a21
Fix #184 - Avoid duplicate entries in g:plugs_order
2015-02-25 22:31:39 +09:00
Junegunn Choi
c759170ce2
Merge pull request #179 from starcraftman/master
...
Linking to wiki.
2015-02-22 22:36:18 +09:00
Jeremy Pallats/starcraft.man
44410a32e3
Linking to wiki.
2015-02-22 08:23:55 -05:00
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
Junegunn Choi
2ee153d610
Define s:triggers by default to avoid error after upgrade ( #132 )
2014-12-05 12:05:57 +09:00
Junegunn Choi
7019171737
Fix #131 - Syntax error
2014-12-04 15:13:37 +09:00
Junegunn Choi
044c3a67c4
Fix #130 - Proper cleanup of on-demand loading triggers
2014-12-04 13:06:13 +09:00
Junegunn Choi
48514768c2
Fix missing progress update ( #127 )
...
In the recent versions of NeoVim, jobstart() does not return
monotonically increasing numbers, this caused vim-plug to miss updating
the progress of a task when the job ID for the task is already
reassigned to a new task.
2014-12-02 02:48:25 +09:00
Junegunn Choi
68ad02c5c3
Display "Press 'D'" message only when existing plugins are updated
...
Fix #123
2014-11-24 03:32:01 +09:00
Junegunn Choi
12bc2ea1da
Fix some test code
2014-11-21 01:06:17 +09:00
Junegunn Choi
ade7fb95b1
Fix failing test case
2014-11-08 11:33:11 +09:00
Junegunn Choi
9c55223869
Merge pull request #118 from splinterofchaos/job_data-list
...
Update: job_data[2] as a list.
2014-11-08 10:28:53 +09:00
Scott Prager
495becf442
Update: job_data[2] is a list.
2014-10-29 01:03:58 -04:00
Junegunn Choi
425ef39db2
Fix #114 - &rtp should not contain empty path
2014-10-22 13:36:57 +09:00
Junegunn Choi
bd2cb9d2de
Install frozen plugin if it's not found ( #113 )
2014-10-22 13:05:10 +09:00
Junegunn Choi
0263370bd1
Fix #112 : Do not suppress messages from ftplugin
2014-10-19 14:45:19 +09:00
Junegunn Choi
4b3fbd1592
Workaround for PlugUpgrade error on Neovim ( #111 )
2014-10-18 11:26:05 +09:00
Junegunn Choi
396a534a0a
Update README
...
g:plug_timeout and g:plug_retries are only for Ruby installer
2014-10-10 23:18:40 +09:00
Junegunn Choi
a45c3834f8
Merge pull request #103 from junegunn/neuevim
...
Parallel installer for Neovim
2014-10-10 23:11:40 +09:00
Junegunn Choi
a5c3952380
Sort auto-completion candidates
2014-10-10 17:36:54 +09:00
Junegunn Choi
60bda7322f
Improve ]]/[[ movement
2014-10-10 17:35:07 +09:00
Junegunn Choi
05008e7a82
Use s:extract_name instead of matchstr
2014-10-10 17:34:39 +09:00
Junegunn Choi
2889cb4739
Minor refactoring
2014-10-10 15:50:43 +09:00
Junegunn Choi
61b21068ee
Update test case (related: #8c915a5)
2014-10-10 10:54:00 +09:00
Junegunn Choi
15da7eb78a
Code cleanup
2014-10-10 10:39:49 +09:00
Junegunn Choi
385a1eb350
Detect abnormal process exit using 'Error' line
2014-10-10 10:28:15 +09:00
Junegunn Choi
8c915a5271
Reuse plug window even if it's in another tab
2014-10-10 10:23:00 +09:00
Junegunn Choi
ee9f0e55b8
Use s:lines instead of split
2014-10-10 10:10:52 +09:00
Junegunn Choi
018adb2aef
Disable NVim parallel installer on Windows
2014-10-10 10:06:29 +09:00
Junegunn Choi
da47e6ee56
Avoid unnecessary tab/window switch
2014-10-10 04:39:38 +09:00
Junegunn Choi
662274e617
Stabilize Neovim installer
...
- Abort running jobs when plug windows is reset
- Multi-line error report
- Retain window view
2014-10-10 01:10:34 +09:00
Junegunn Choi
4eeff535fa
Parallel installer for Neovim
2014-10-09 19:55:36 +09:00
Junegunn Choi
c3669836d3
Fix Travis CI build
2014-10-02 01:32:23 +09:00
Junegunn Choi
eb38fe3d32
Fix Travis CI build
2014-10-02 01:21:52 +09:00
Junegunn Choi
e7704e6cb3
PlugSnapshot to use unexpanded plug home
...
/cc @andreicristianpetcu
plug#begin expands its path argument and converts it to the absolute
path by default. However, it makes sense to use the unexpanded form in
case of PlugSnapshot as described in
https://github.com/junegunn/vim-plug/issues/97#issuecomment-57421483
For example, for the following cases,
- call plug#begin('~/.vim/plugged')
- call plug#begin('$HOME/.vim/plugged')
PlugSnapshot will use the exact arguments, `~/.vim/plugged` or
`$HOME/.vim/plugged`, instead of the absolute paths such as
`/home/jg/.vim/plugged`.
2014-10-01 23:14:27 +09:00
Junegunn Choi
e1e04cabd5
Minor refactoring
...
/cc @vheon
2014-10-01 11:37:58 +09:00
Junegunn Choi
afc20ecff3
Implement PlugSnapshot ( #97 )
...
Known issue: After running the script, PlugDiff will show "future"
commits.
2014-10-01 03:10:24 +09:00
Junegunn Choi
38510a8788
Remove unnecessary submodule command after recursive clone
2014-09-29 02:12:33 +09:00
Junegunn Choi
a34b06dd54
Fix Travis-CI build
2014-09-27 15:30:58 +09:00
Junegunn Choi
5d910fc9ea
Allow unmanaged plugins inside g:plug_home ( #95 )
2014-09-27 14:41:57 +09:00
Junegunn Choi
f31477407a
Enable syntax only during startup
...
Related discussion can be found in #83 . If the user choose not to use
syntax highlighting, he can disable it by putting `syntax off` after
`plug#end()`. But since `plug#end()` is called by `PlugInstall` or
`PlugUpdate`, it is reenabled on those commands which is not desirable.
This commit fixes the issue by changing `plug#end` to do `syntax enable`
only during Vim startup.
2014-09-23 22:11:31 +09:00
Junegunn Choi
0e907d4f38
Add link to Travis CI page
2014-09-23 15:30:46 +09:00
Junegunn Choi
cb08d6036b
Reload plugins after everything's ready
2014-09-23 15:25:05 +09:00
Junegunn Choi
9d63fe6aeb
Merge pull request #88 from junegunn/improve-rtp-mgmt
...
Improve &runtimepath mgmt (fix #85 )
2014-09-23 10:14:03 +09:00
Junegunn Choi
0489b5deed
Stricter double-comma replacement
...
To handle paths ending with commas
2014-09-23 10:01:16 +09:00
Junegunn Choi
cac2f9f439
Improve &rtp management ( #85 )
...
- Respect the order of `Plug` commands even when some plugins are loaded
on demand
- Correct the order of `after` directories added to `&rtp`
2014-09-23 00:21:48 +09:00
Junegunn Choi
115a25de79
Suppress error messages from which command
2014-09-19 00:40:27 +09:00
Junegunn Choi
a64b156682
Expand argument to plug#begin ( #82 )
2014-09-17 19:41:00 +09:00
Junegunn Choi
a9fa8f44e5
Merge pull request #79 from junegunn/U
...
Add `U` keybinding for updating plugins
2014-09-15 21:12:25 +09:00
Junegunn Choi
d6590fa883
Code cleanup
2014-09-15 21:03:37 +09:00
Junegunn Choi
cabaf7b431
Use blackhole register when deleting lines
2014-09-15 21:02:08 +09:00
Junegunn Choi
6e509db6ff
Add U keybinding for updating plugins
2014-09-15 19:12:52 +09:00
Junegunn Choi
7b7778d5ba
Remove plugin directory on failure during installation ( #75 )
...
If installation process is terminated during `git submodule ...`, the
directory ends up in an inconsistent state. This commit ensures
that the directory is removed on failure.
Fixed Ruby 1.8.7 compatibility.
2014-09-14 13:54:20 +09:00
Junegunn Choi
f3e2d214df
Revert "Remove plugin directory on failure during installation ( #75 )"
...
This reverts commit 5ec1faefab .
2014-09-14 13:49:00 +09:00
Junegunn Choi
5ec1faefab
Remove plugin directory on failure during installation ( #75 )
...
If installation process is terminated during `git submodule ...`, the
directory ends up in an inconsistent directory. This commit ensures
that the directory is removed on failure.
2014-09-14 13:41:36 +09:00
Junegunn Choi
6406d73c9a
When to use for option
2014-09-10 23:45:22 +09:00
Junegunn Choi
ff4cbe23c0
Throw v:shell_error when system() output is empty
2014-09-10 00:21:39 +09:00
Junegunn Choi
681ca2d43a
Refactor PlugUpgrade ( #72 )
...
- Remove duplicate code
- Do not create .old file when vim-plug is up-to-date
- Better messages
2014-09-10 00:16:23 +09:00
Junegunn Choi
adb2413f0d
syntax enable instead of syntax on
2014-09-05 12:04:28 +09:00
Junegunn Choi
dda21b50bf
Merge pull request #67 from stevensons/resolve-symlink
...
Resolve symlinks in path to plug.vim
2014-09-04 20:12:27 +09:00
Scott Stevenson
537a5321aa
Resolve symlinks in path to plug.vim
...
If `plug.vim` is a symbolic link, `PlugUpgrade` will now download the
latest version to the resolved path rather than overwriting the link.
2014-09-04 10:54:15 +00:00
Junegunn Choi
99f6f36b69
Do not print 'D'-message when there was no update ( #66 )
...
This commit assumes that the git pull command prints 'Already
up-to-date' when the repository is up-to-date. Let's just hope that it
doesn't change in the future.
2014-09-04 14:10:33 +09:00
Junegunn Choi
3f82808bea
Use blackhole register when deleting commit list
2014-09-04 14:09:06 +09:00
Junegunn Choi
7474edf13f
Remove unnecessary dot-concatenations
...
Thanks to @vheon for the tip.
2014-09-04 01:48:27 +09:00
Junegunn Choi
25b0fb7583
Merge pull request #65 from vheon/fix-preview-commit
...
[PlugDiff] Change directory after wincmd to avoid side-effects on BufEnter/BufLeave
2014-09-04 01:29:57 +09:00
Andrea Cedraro
a868ee4c11
cd to repo root when in preview window on preview commit
2014-09-03 08:47:01 +02:00
Junegunn Choi
49851436ff
Use --no-rebase option on git pull ( #64 )
2014-09-03 02:14:54 +09:00
Junegunn Choi
2f9a94e8c0
Update README
2014-08-26 01:39:12 +09:00
Junegunn Choi
ab3bd3b17c
Implement g:plug_url_format ( #62 )
2014-08-26 01:36:50 +09:00
Junegunn Choi
3572ffde79
Add g:plug_window to README ( #57 )
2014-08-20 12:38:22 +09:00
Junegunn Choi
18c8b54793
Add test case for g:plug_window ( #57 )
2014-08-20 12:33:37 +09:00
Junegunn Choi
1752de5b7c
Fix indentation
2014-08-20 12:33:37 +09:00
Miles Whittaker
2f3225fc60
User can now specify how plug window opens
...
Using 'let g:plug_window = "topleft new"' or something similar, the
user can specify how they would like the plug window to open.
2014-08-20 12:33:37 +09:00
Junegunn Choi
1022acad0b
Add example for on-demand loading for multiple file types ( #59 )
2014-08-20 01:27:55 +09:00
Junegunn Choi
68c7fbbf9d
Change raw.github.com url ( #58 )
...
https://developer.github.com/changes/2014-04-25-user-content-security/
2014-08-19 20:46:27 +09:00
Junegunn Choi
da24f714e0
Use git:: prefix to avoid password prompt on git 1.7 ( #56 )
2014-08-14 10:04:44 +09:00
Junegunn Choi
c1bbbaf3ef
Allow Plug command even when git executable is not found ( #52 )
...
- plug#begin() will return 1 even when git executable is not found
- Commands that require git will not be available
- If you wish to ignore the error message prepend `silent!` to the call
2014-08-11 01:42:19 +09:00
Junegunn Choi
f7ebba7b9e
Improve PlugDiff: 'X' key to revert the update
2014-08-10 16:52:26 +09:00
Junegunn Choi
6272f5e289
Improve PlugStatus
...
- Display load status
- Load plugin with 'L' key
(This commit also allows not loading a plugin with `'for': []`. It used
to load ftdetect files.)
2014-08-10 13:46:46 +09:00
Junegunn Choi
f43067c7a5
Merge pull request #51 from junegunn/public-api
...
Add plug#helptags and plug#load (#48 )
2014-08-09 23:44:59 +09:00
Junegunn Choi
e6cba28997
Fix error messages
2014-08-09 13:11:41 +09:00
Junegunn Choi
f1b8832a13
Add plug#load() ( #48 )
2014-08-09 12:59:20 +09:00
Junegunn Choi
d0c94a9b08
Add plug#helptags()
2014-08-09 12:58:16 +09:00
Junegunn Choi
3a2e406cd0
Merge pull request #47 from junegunn/fix-upgrade
...
Do not require reloading of .vimrc after PlugUpgrade
2014-08-05 19:09:17 +09:00
Junegunn Choi
84cdf61730
Do not require reloading of .vimrc after PlugUpgrade
2014-08-05 18:52:19 +09:00
Junegunn Choi
0aeea1db08
Update README.md
2014-08-05 15:32:28 +09:00
Junegunn Choi
8289477d18
Revert "Make sure update/install after PlugUpgrade work"
...
This reverts commit 19b12e2216 .
No luck. The user still have to reload .vimrc anyway. Let's just make it
clear that a restart can be required after PlugUpgrade.
2014-08-05 01:50:03 +09:00
Junegunn Choi
19b12e2216
Make sure update/install after PlugUpgrade work
...
By not assuming `frozen` property exists. I tried to fix it with
s:upgrade_specs, but it has no effect if the old version of vim-plug
doesn't know about it.
2014-08-05 01:43:42 +09:00
Junegunn Choi
4c9ebe9c31
Add -bar option to commands
2014-08-05 01:31:19 +09:00
Junegunn Choi
74dcd13575
s:upgrade_specs should be called after reloading the source
2014-08-05 01:25:34 +09:00
Junegunn Choi
518f20652f
Merge pull request #46 from vheon/fix-multiple-create-directory
...
Do not try to create g:plug_home more than once
2014-08-05 00:56:26 +09:00
Andrea Cedraro
665ec057d7
Do not try to create g:plug_home more than once
2014-08-04 17:43:34 +02:00
Junegunn Choi
bc212dca77
Merge pull request #45 from junegunn/travis-ci-rubies
...
Test against multiple versions of Ruby
2014-08-04 16:40:11 +09:00
Junegunn Choi
8da7b50fb2
Test against multiple versions of Ruby
...
As discussed in junegunn/vim-plug#31
2014-08-04 16:31:05 +09:00
Junegunn Choi
4ae2e879e1
Note on escaping double quotes in inline expression
2014-08-02 14:04:03 +09:00
Junegunn Choi
93628b1c3d
Forced run of post-update hooks using bang commands
...
PlugInstall! / PlugUpdate!
2014-08-02 12:13:52 +09:00
Junegunn Choi
01e126469b
Remove duplicate expression and escape helptags directory
2014-08-02 02:52:56 +09:00
Junegunn Choi
a7477f04b7
Update README
2014-08-02 01:12:01 +09:00
Junegunn Choi
0fdb56ba72
Update README
2014-08-02 01:00:59 +09:00
Junegunn Choi
d89949f16c
Update README.md
2014-08-01 23:46:50 +09:00
Junegunn Choi
19b8221c14
Update README
2014-08-01 23:37:19 +09:00
Junegunn Choi
336fadd236
Remove FAQ/Troubleshooting section and add link to wiki page
2014-08-01 23:33:26 +09:00
Junegunn Choi
a216e38a59
Merge pull request #44 from FriedSock/test_refactoring
...
Force use of bash for Vader tests.
2014-08-01 23:26:26 +09:00
Jack Bracewell
d930594686
Force use of bash for Vader tests.
...
If not using a bash compatible shell (like fish), then this will be
set as the default Vim shell. Leading to half the tests failing with
E484: CAN’T OPEN FILE
2014-08-01 15:16:21 +01:00
Junegunn Choi
f4261711ae
Update README
2014-08-01 02:01:31 +09:00
Junegunn Choi
61b77bc8e8
Fix many subtle issues regarding on-demand loading etc.
...
- On-demand loading
- Fix loading of unwanted files (e.g. colors/*.vim, syntax/*.vim, etc.)
- Filetyp-based on-demand loading
- Load `after/ftdetect` as well
- Make sure indent files are loaded by invoking
`doautocmd filetypeindent FileType`
- Ensure plugin loaded when it was added after Vim started
- Do not reload $MYVIMRC after installtion/update
- Instead simply call plug#end()
2014-07-31 16:34:41 +09:00
Junegunn Choi
fe7c7e7b40
Minor tweaks
2014-07-31 03:04:59 +09:00
Junegunn Choi
25afdf138c
Refactoring
...
- Remove dead code
- Extract method
2014-07-31 01:01:59 +09:00
Junegunn Choi
b36fd34da0
Ensure files under after are loaded when first installed
2014-07-31 00:17:21 +09:00
Junegunn Choi
7e55690f19
Update examples
2014-07-30 20:00:21 +09:00
Junegunn Choi
30ef53d832
Remove support for experiemental dependency resolution ( #43 )
...
🎉
2014-07-30 19:52:19 +09:00
Junegunn Choi
f58d090bb2
Add dir option: managed plugins outside g:plug_home
2014-07-30 19:20:51 +09:00
Junegunn Choi
eeef77e9c8
Merge branch 'vheon-refactoring' into refactoring
2014-07-29 23:37:47 +09:00
Andrea Cedraro
6af2cd8946
Inline substitute inside s:dirpath()
2014-07-29 14:21:11 +02:00
Junegunn Choi
878cdd5309
Unmap / and ? from vim-oblique after test
2014-07-29 19:18:33 +09:00
Junegunn Choi
9bb2da53a0
Replace s:extract_name with a single fnamemodify call
2014-07-29 19:17:12 +09:00
Junegunn Choi
58c06ed77e
Use single-quotes whenever possible for consistency
2014-07-29 19:07:09 +09:00
Junegunn Choi
2e691c6feb
Define a separate version of s:is_local_plug for Windows
2014-07-29 10:09:05 +09:00
Junegunn Choi
a18087610a
Use fnamemodify instead of split hackery
...
Simpler and faster
2014-07-29 02:42:53 +09:00
Junegunn Choi
276106d987
Performance tuning: reduce the number of s:parse_options calls
2014-07-29 02:11:59 +09:00
Junegunn Choi
d499fc311a
Use dot operator instead of get()
...
The reason I used get() instead of concise dot operator when accessing
`frozen` and `local` properties of plugin spec was to avoid errors when
a user "PlugUpgrade" from an old version of vim-plug whose g:plugs does
not have those properties. Added the code to patch the old version of
g:plugs so that we can safely use dot operators.
2014-07-29 01:51:32 +09:00
Junegunn Choi
c4b4aa8f07
Code cleanup: reuse s:trim() when possible
2014-07-29 00:19:29 +09:00
Junegunn Choi
d690f8d576
Change error reporting method
...
As suggested by @vheon:
https://github.com/junegunn/vim-plug/pull/40#issuecomment-50278543
2014-07-28 19:56:59 +09:00
Junegunn Choi
8738341ad0
Performance tuning: reduce the number of globpath calls
2014-07-28 19:45:40 +09:00
Junegunn Choi
5ab2024fbb
Performace tuning: inlining some function calls
2014-07-28 19:41:05 +09:00
Junegunn Choi
300176ba9f
Avoid echoerr inside catch block
2014-07-28 01:27:30 +09:00
Andrea Cedraro
da7d6bd58b
Refactor s:add function
2014-07-27 17:38:57 +02:00
Junegunn Choi
b651558c63
Update README
2014-07-27 12:00:36 +09:00
Junegunn Choi
2d815ad2f0
Escape angle brackets in README
2014-07-27 11:58:12 +09:00
Junegunn Choi
3af4079179
Fix typo
2014-07-27 11:55:06 +09:00
Junegunn Choi
e6a594f1ad
Change post-hook function to take a dictionary for more control
2014-07-27 11:28:53 +09:00
Junegunn Choi
e741d02ad0
Fix elapsed time to include the time spent in post-update hook
2014-07-27 11:15:13 +09:00
Junegunn Choi
b2208640d4
Update documentation
2014-07-27 11:06:47 +09:00
Junegunn Choi
aa49c38586
Don't need <Plug> map ( #38 )
2014-07-27 03:16:44 +09:00
Junegunn Choi
b6b10ac17e
Print progress of post-update hooks using :! ( #38 )
2014-07-27 03:07:37 +09:00
Junegunn Choi
706f7e00ea
Merge pull request #39 from vheon/fix-type-parameter-clarity
...
Replace return value of type() with call to the function
2014-07-27 02:22:31 +09:00
Andrea Cedraro
6ff1031339
Replace return value of type() with named values
2014-07-26 19:14:46 +02:00
Junegunn Choi
0936877399
Don't check for the need for post-update hook when interrupted
2014-07-27 00:42:23 +09:00
Junegunn Choi
d956e16f15
Minor refactoring
2014-07-26 22:58:34 +09:00
Junegunn Choi
f98c8456fa
Post-update hook (do option)
2014-07-26 22:49:18 +09:00
Junegunn Choi
5b2c03d3a8
R to retry interrupted tasks as well
2014-07-23 11:46:29 +09:00
Junegunn Choi
0b31be49cf
Update README
2014-07-22 12:47:34 +09:00
Junegunn Choi
74fa6ab9df
'R' to retry failed update/installation tasks
2014-07-22 12:46:59 +09:00
Junegunn Choi
0d7e20c984
Merge pull request #37 from junegunn/retries
...
Retry in case of timeout
2014-07-21 23:13:43 +09:00
Junegunn Choi
e2714fb56e
Retry in 3 seconds
2014-07-21 23:09:16 +09:00
Junegunn Choi
3b83a22ea4
Avoid InsertEnter/InsertLeave events in GUI MacVim workaround
2014-07-21 14:27:38 +09:00
Junegunn Choi
cd418369bc
Use gui_macvim instead of mac ( #36 )
2014-07-21 11:42:27 +09:00
Junegunn Choi
279a334c8b
Temporarily disable &imd on GUI MacVim ( #36 )
2014-07-21 11:35:48 +09:00
Junegunn Choi
9132e9d50d
Workaround for screen freeze in MacVim GUI ( #36 )
2014-07-21 02:49:47 +09:00
Junegunn Choi
3323163e04
Retry in case of timeout ( #35 )
...
while gradually increasing the time limit
2014-07-20 02:14:15 +09:00
Junegunn Choi
e4671eaf9e
Do not assume that frozen key exists
...
To avoid possible error after PlugUpgrade
2014-07-18 01:27:41 +09:00
Junegunn Choi
9afa356fb3
Exclude unmanaged plugins from PlugDiff output
2014-07-17 10:28:59 +09:00
Junegunn Choi
e04f696682
Ignore errors during :helptags
...
https://github.com/junegunn/vim-plug/issues/31#issuecomment-49058031
2014-07-17 02:20:00 +09:00
Junegunn Choi
4cb5fd04a6
Note on single quotes ( #33 )
2014-07-16 20:40:49 +09:00
Junegunn Choi
c16743e8fc
License
2014-07-16 20:39:39 +09:00
Junegunn Choi
46a6e8441f
Pin first and last path in &rtp ( #34 )
2014-07-16 20:26:42 +09:00
Junegunn Choi
466d1839b3
Add support for local plugins. Add frozen option ( #32 )
2014-07-16 19:52:58 +09:00
Junegunn Choi
c3cf35abb5
Ignore occasional error from Ruby 1.8.7
...
Related: https://bugs.ruby-lang.org/issues/1471
2014-07-13 22:02:11 +09:00
Junegunn Choi
344f80aedb
Fix Ruby installer for Ruby 1.8.7 ( #31 )
2014-07-13 20:18:56 +09:00
Junegunn Choi
dae0540a11
Change gif
2014-07-13 17:39:19 +09:00
Junegunn Choi
af89938633
Real-time progress report
...
This commit is almost identical to the reverted
60b907c87f , but it tries to avoid high CPU load
by not printing every line.
2014-07-13 03:58:16 +09:00
Junegunn Choi
35c5f2830b
Revert "Real-time progress report"
...
This reverts commit 60b907c87f .
2014-07-13 03:22:25 +09:00
Junegunn Choi
60b907c87f
Real-time progress report
2014-07-13 03:05:54 +09:00
Junegunn Choi
9ceb9caa09
Minor refactoring
2014-07-10 00:44:09 +09:00
Junegunn Choi
42a42e7e71
Fix after directory and Plugfile on Windows
2014-07-10 00:13:32 +09:00
Junegunn Choi
8885b1086f
Minor refactoring in ODL: no need to pass full dict
2014-07-09 01:14:03 +09:00
Junegunn Choi
90c07f269c
Fix <Plug>-based ODL on visual range spanning multiple lines
2014-07-07 22:55:44 +09:00
Junegunn Choi
f1c5157e35
Fix <Plug>-based on-demand-loading on visual mode
2014-07-07 19:06:20 +09:00
Junegunn Choi
7f1ec7b12b
Load ftplugins while avoiding extraneous FileType events ( #24 , #25 )
2014-07-04 14:20:48 +09:00
Junegunn Choi
f90afc9081
Remove images from repo
2014-06-23 23:39:48 +09:00
Junegunn Choi
612b9b3afd
Fix test cases for travis-ci
2014-06-23 13:16:14 +09:00
Junegunn Choi
58891e05be
Travis-CI integration
2014-06-23 12:57:46 +09:00
Junegunn Choi
baf7b18f73
Update test runner script
2014-06-23 12:53:51 +09:00
Junegunn Choi
cc37ed48be
Improve PlugStatus message
...
Invalid branch/tag: %s (expected: %s). Try PlugUpdate.
2014-06-23 12:22:25 +09:00
Junegunn Choi
afe7dc6f8f
Use case-sensitive match
2014-06-23 04:04:03 +09:00
Junegunn Choi
8863a3a53c
Fix #28 : False alarm from PlugStatus when tag used
2014-06-23 04:02:49 +09:00
Junegunn Choi
ee04a646d3
Fix: dependent plugins not loaded after initial installaion
2014-06-22 21:49:51 +09:00
Junegunn Choi
6ddee62977
Ensure ftplugin files are loaded ( #24 )
2014-06-22 13:09:18 +09:00
Junegunn Choi
8cf5fca9ca
Revert "Ensure ftplugin files are loaded ( #24 )"
...
This reverts commit a026eb39c4 .
Conflicts:
plug.vim
2014-06-22 12:49:22 +09:00
Junegunn Choi
347fccb030
Revert "Remove FileType autocmd after loaded"
...
This reverts commit db3f5ad5c3 .
Conflicts:
plug.vim
2014-06-22 12:45:21 +09:00
Junegunn Choi
a026eb39c4
Ensure ftplugin files are loaded ( #24 )
...
If `filetype plugin on` is called before `plug#end()`, filetype
plugin handler is invoked before ODL autocmd from vim-plug which
updates runtimepath and ftplugin files are not loaded.
2014-06-22 10:27:15 +09:00
Junegunn Choi
4d352e1849
Revert "Clear #filetypeplugin for filetype-based ODL ( #24 )"
...
This reverts commit 1d477a1a01 .
2014-06-22 10:21:58 +09:00
Junegunn Choi
db3f5ad5c3
Remove FileType autocmd after loaded
2014-06-22 09:58:14 +09:00
Junegunn Choi
1d477a1a01
Clear #filetypeplugin for filetype-based ODL ( #24 )
2014-06-22 04:24:19 +09:00
Junegunn Choi
288a4f72ce
Add pending test case on dependency resolution
2014-06-20 21:35:42 +09:00
Junegunn Choi
5168cd50db
Allow updating subset of plugins
...
This commit extends `PlugInstall` and `PlugUpdate` command to allow
updating only a subset of plugins as follows:
" With tab completion of plugin names
:PlugInstall vim-easy-align seoul256
:PlugUpdate vim-easy-align seoul256
2014-06-20 20:53:57 +09:00
Junegunn Choi
4d32762432
Allow -range in on-demand loading commands
2014-06-20 20:35:33 +09:00
Junegunn Choi
8dff1dae37
Allow trailing comment after Plug declaration ( #23 )
2014-06-20 09:58:50 +09:00
Junegunn Choi
b5b687ad9a
On-demand loading on filetypes ( #21 )
2014-06-17 11:59:42 +09:00
Junegunn Choi
7e69a50890
Fix on-demand loading: load ftdetect and **/*.vim as well
2014-06-17 11:45:42 +09:00
Junegunn Choi
476a613746
Fix #19 : install error
2014-06-06 00:16:57 +09:00
Junegunn Choi
12b5dcb903
git submodule update --init --recursive ( #18 )
2014-06-03 18:51:01 +09:00