Junegunn Choi
d80f495fab
Allow pressing 'q' to abort the running tasks, then 'R' to retry ( #1289 )
...
If you press 'q' while `PlugInstall` or `PlugUpdate` is in progress,
the current version of vim-plug immediately closes its window and aborts
all the running processes.
This commit enhances the 'q' map so that it doesn't close the window,
but instead displays the aborted tasks so that the user can press 'R' to
retry the tasks.
Fix #1285
2024-07-09 20:09:41 +09:00
Junegunn Choi
d863d07832
Add more explanation on plug#end()
2024-06-19 20:05:15 +09:00
Junegunn Choi
b98b66242b
Fix PlugClean when &shell is powershell on Windows ( #1283 )
2024-06-18 18:02:36 +09:00
Junegunn Choi
db37a8a29a
Update comment in plug.vim
2024-06-01 15:58:29 +09:00
Junegunn Choi
7095372c4b
Add colorscheme example (should be loaded after plug#end())
2024-06-01 15:40:24 +09:00
Junegunn Choi
3f1daea5bd
Adjust heading levels in README
2024-05-15 03:07:01 +09:00
Junegunn Choi
9b4ecd1bb5
Update documentation ( #1280 )
2024-05-14 19:06:23 +09:00
Junegunn Choi
c0992146e2
Update README
2024-05-14 17:20:08 +09:00
Junegunn Choi
47ca942ea4
Update README
2024-05-14 16:57:04 +09:00
Junegunn Choi
d977fa3786
Do not remove 'frozen' plugins on PlugClean
...
Close #1152
2024-03-31 00:53:55 +09:00
Junegunn Choi
24d7ac280f
Remove dead code
...
Close #1194
2024-03-29 13:02:03 +09:00
Junegunn Choi
2cd7bf673b
README: Fix typo
2024-03-15 23:16:01 +09:00
Junegunn Choi
d54f8d5bbd
README: Use markdown alerts ( #1276 )
2024-03-15 21:22:16 +09:00
Junegunn Choi
61b6df67b4
Update examples
2024-03-14 19:11:37 +09:00
Junegunn Choi
94b7aa99a9
Update README and vimdoc
2024-03-07 23:41:50 +09:00
DanielApt
03a9bb6d84
Add reload/restart step to usage section ( #1255 )
...
Reloading the .vimrc should be part of the usage section, not the example section.
2024-03-07 23:31:28 +09:00
Junegunn Choi
854b081934
Open vim-plug window in a new tab ( #1274 )
...
* Open vim-plug window in a new tab not to disrupt the current window layout
* Open preview window on the right to better show the diff
If you prefer the old layout, use the following configuration:
let g:plug_window = 'vertical topleft new'
let g:plug_pwindow = 'above 12new'
2024-03-07 01:16:12 +09:00
R. N. West
3049761d47
Add dark mode vim-plug logo and use correct logo version in README ( #1267 )
2024-03-07 01:14:08 +09:00
Junegunn Choi
ed19478ce2
Keep track of the default branch of the origin ( #1272 )
...
Fix #1005
vim-plug will now run `git remote set-head origin -a` on PlugUpdate to
keep track of the default branch of the origin, so that it can still
update a plugin even if its default branch has changed.
This additional command will slow down the update process, but this is
an unavoidable price to pay for the correctness of the task. However,
vim-plug will run checkout and merge commands in parallel, so this
improvement will slightly offset the slowdown.
2024-03-07 00:18:49 +09:00
Junegunn Choi
e2974a3367
Fix PlugClean error when the default branch has changed ( #1269 )
...
Fix #1253
2024-03-05 16:13:23 +09:00
Junegunn Choi
2f8f04cf79
Reset &rtp before 'do' to invalidate Neovim cache of loaded Lua modules
2024-02-24 23:07:55 +09:00
Junegunn Choi
3264b81e7a
Update plug.vim
2024-02-24 23:07:55 +09:00
Jongwook Choi
64b9f9e3c3
Source lua files (if any) from rtp when loading a plugin
...
Neovim 0.5.0 allows lua files to be used in runtime files (such as
plugin, ftdetect, etc.) as well as vimscript files. Indeed, some
plugins have `plugin/*.lua` scripts only, but not `plugin/*.vim`;
such plugins cannot be sourced and work properly if it is lazy-loaded.
2024-02-24 23:07:55 +09:00
Junegunn Choi
6154433e22
README: Lambda expression as post-update hook
2024-02-23 01:14:44 +09:00
Junegunn Choi
eee20c7e79
Update README: warp.dev
2024-02-15 14:29:51 +09:00
Junegunn Choi
ade078e362
Update README: warp.dev
2024-02-13 08:45:04 +09:00
Junegunn Choi
6dd068e8d8
Tidy up
2024-02-03 20:05:06 +09:00
Junegunn Choi
e07c18608f
Add Lua configuration example
...
Close #1258
2024-02-03 20:02:13 +09:00
wsdjeg
ca0ae0a8b1
Update builde status icon ( #1238 )
2023-04-01 23:59:21 +09:00
Alexis Corporal
034e844590
README: Change scrooloose/nerdtree
to preservim/nerdtree
( #1226 )
...
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2023-01-19 11:35:13 +09:00
Junegunn Choi
ddce935b16
Revert "Add Sponsor Labels action"
...
This reverts commit e531dbec2a
.
2022-09-13 09:43:33 +09:00
Junegunn Choi
e531dbec2a
Add Sponsor Labels action
2022-09-10 11:28:27 +09:00
Junegunn Choi
b6739f358b
Update ISSUE_TEMPLATE: Require plug block contents
2022-09-06 11:06:26 +09:00
Eduardo Leggiero
f308ef394e
Update username of NERDTree plugin ( #1208 )
2022-09-05 09:34:39 +09:00
Stefan Muenzel
d94d234548
Add .gitignore ( #1204 )
2022-08-17 20:25:08 +09:00
Junegunn Choi
d6cb65753f
Explicitly address the side-effects of plug#end() in the example
...
Close #1182
2022-08-01 09:17:35 +09:00
Junegunn Choi
87a160a1c3
Create FUNDING.yml
2022-07-30 19:54:42 +09:00
Junegunn Choi
8fdabfba0b
PlugDiff: Press enter on the name of a plugin to see the full diff
...
Close #1174
2022-05-03 23:10:00 +09:00
Karl Yngve Lervåg
be55ec46b5
Check the actual value g:did_load_filetypes ( #1176 )
...
This resolves the issue described in #1175 .
2022-04-21 22:54:02 +09:00
Junegunn Choi
93ab590978
Include plugins with 'commit' values in PlugSnapshot output
...
Fix #1167
2022-04-04 11:52:45 +09:00
Junegunn Choi
e300178a0e
Change the default plugin directory for Neovim
...
And suggest users to call plug#begin() without an argument to avoid
confusion.
2022-01-03 23:05:08 +09:00
Shawn Hatori
f085751ca1
README: Clarify recommended plugins directory for Windows Vim ( #1151 )
2022-01-03 22:47:53 +09:00
Jaehwang Jerry Jung
68488fd7a3
Fix unexpected cursor movement on on-demand imap loading ( #1147 )
...
`i_CTRL-O` may change the cursor position in an unexpected way.
For example, when `autoindent` is set, the user will expect that
`i asdf<CR><C-O>` will place the cursor right below `a`.
However, `<C-O>` moves the cursor to the first column of line 2.
Expected:
```
asdf
█
```
Actual:
```
asdf
█
```
Therefore, it's desirable to use `i_CTRL-\_CTRL-O`, the variant of
`i_CTRL-O` that does not move the cursor.
2021-12-06 14:26:19 +09:00
Junegunn Choi
93a115718f
Migrate to GitHub Actions
...
Close #1128
TODO:
- Neovim stale/unstable
- https://github.com/junegunn/vim-plug/runs/4422576984?check_suite_focus=true#step:3:238
- Vim 7.4
- Ruby parallel installer
- Python parallel installer
2021-12-05 23:42:23 +09:00
Gibson Fahnestock
c9971346bb
Set --origin=origin for git clone commands ( #1117 )
...
Otherwise if the user has set a `git config clone.defaultRemoteName
foo`, then vim-plug will fail to detect the latest upstream changes as
the remote will be incorrect, and will repeatedly state that the plugin
repo needs to be cleaned.
2021-08-31 17:14:37 +09:00
Matúš Ferech
66e038d443
Add --create-dirs option to flatpak installation instrictions ( #1126 )
2021-08-29 17:20:58 -04:00
Gerald
fc2813ef44
Recognize pwsh(.exe) as PowerShell ( #1090 )
...
Fix #1065
2021-04-30 16:29:04 +09:00
Rosen Stoyanov
cffcfe150b
Add GV.vim-style q mapping ( #827 )
...
* Add GV.vim-style q mapping
* Fix test cases
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2021-02-08 16:23:21 +09:00
mattn
8b45742540
Disable credential.helper for git fetch ( #1046 )
2020-12-14 14:30:44 +09:00
Dylan
5430b6213a
XDG_DATA_HOME respecting powershell script ( #1042 )
...
This version supports Powershell 5.1 (shipped in the latest install of Windows 10)
2020-12-03 22:46:45 +09:00
Junegunn Choi
2f4e28161e
Set empty credential.helper only when git 2.0 or above is available
...
Fix #1031
2020-11-03 22:55:17 +09:00
Subhaditya Nath
ab940f624a
Fix syntax matches ( #1028 )
...
Previously, the highlight of the `------------` line below the `Last Update:`
changed from `plugH2` on the whole line to `plugDash` on the first `-`
when the cursor moved over it and went below it. This commit updates the
`syn match` commands a bit to correct that issue.
Close #1027
2020-10-23 00:05:18 +09:00
mattn
c44422460e
Disable credential-helper ( #1026 )
2020-10-20 20:48:58 +09:00
Junegunn Choi
d16273e072
Code cleanup
2020-09-08 22:39:56 +09:00
mattn
b17f477585
Reduce the number of git processes for faster operation ( #937 )
...
* Make git operation faster
When using many plugins, vim-plug may spawn many git processes for them.
* get revision
* get branch
* get remote.origin.url
This is too heavy. especially on Windows. This change get revision, branch,
remote origin url directly from .git directory.
This idea is borrowed from @k-takata's commit for minpac.
Executing external programs is slow especially on Windows.
Read the information directly from .git directory.
* Copied from devel branch of minpac
* Avoid errors
* Show errors
* Use empty()
* Use empty string instead of v:null
* Check spec.branch is empty
* Use branch
* Fix branch and revision
* Remove l: and use s:trim
* Fix and simplify s:git_get_remote_origin_url
* Do not cut off commit hash for correctness
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-09-08 22:13:21 +09:00
Junegunn Choi
4a3e85e878
Test Neovim on Bionic
...
https://github.com/neovim/neovim/pull/12802
2020-09-08 17:27:20 +09:00
Junegunn Choi
a9bf5bd722
"non-master branch" -> "non-default branch"
2020-08-30 02:05:50 +09:00
Junegunn Choi
e8892a9bef
Update test cases
2020-08-30 02:05:50 +09:00
Junegunn Choi
49be3a8ca9
Use branch name of origin if not specified
2020-08-30 02:05:50 +09:00
Junegunn Choi
95ef5e8d5f
PlugDiff should be able to find pending updates
...
# We need the name of the default branch of origin
git checkout some-tag-or-commit
git log ..origin/master
2020-08-30 02:05:50 +09:00
Junegunn Choi
6fa6475fee
User-specified branch name should not be empty
2020-08-30 02:05:50 +09:00
Yasuhiro Matsumoto
588467903b
Use branch
2020-08-30 02:05:50 +09:00
Yasuhiro Matsumoto
5706f70f8f
Add missing function
2020-08-30 02:05:50 +09:00
Yasuhiro Matsumoto
4a3c5e7ac2
Support non-master default branch
2020-08-30 02:05:50 +09:00
David Barnett
d53d5a976f
Add |:Plug| tag in help docs ( #951 )
2020-08-29 10:43:05 +09:00
timm bangma
13ea184015
Update README.md (Powershell Install One-Liner) ( #1003 )
...
A tidy one liner for the powershell install command.
Much like the unix one 😄
2020-08-08 18:25:59 -04:00
Raphael Martin Schindler
457bebcd30
Fix typos ( #1001 )
...
Add missing 'the' in some phrases and sentences.
Use "Easy", not "Easier", because there are no comparisons in the same sentence or phrase.
2020-08-02 11:52:56 -04:00
Jan Edmund Lazo
b2133cf2ec
Support Windows shell without extension ( #997 )
...
Close https://github.com/junegunn/vim-plug/issues/995
Vim supports omitting file extensions for its option.
I omitted the file extension in Neovim's documentation for powershell.
2020-07-20 07:59:29 -04:00
Jan Edmund Lazo
c319036396
Fix #961 tests for Vim 7.4 ( #990 )
...
Use build stages to group related jobs (Vim, Neovim, Vim 7.4).
Use "silent" to avoid hit-enter prompt when redirecting output.
Always run async and sync tests to debug runtime errors.
Vim 7.4.0052 (Ubuntu Trusty) does not allow dynamic keys in inline dictionary.
https://docs.travis-ci.com/user/build-stages/
2020-07-06 01:07:42 -04:00
Wolf Honore
3aa3b5a4e8
Report when PlugClean fails to remove a directory ( #985 )
2020-06-25 20:56:47 +09:00
Junegunn Choi
01aab60ade
Fix PowerShell instruction for Neovim
...
Close #976
2020-06-08 23:48:55 +09:00
Jan Edmund Lazo
6583b99032
:Plug throws error for invalid option ( #961 )
...
":Plug" performs a quick type check for most options so that the user can check which plugin has invalid configuration on startup. This does not prevent errors, resulting from modiying "g:plugs" after running "plug#end()". Plugin repo is added to the error message for convenience. Most users should expect no noticeable difference in startup time.
Close : #930
Related: #936
2020-06-03 07:34:44 -04:00
Gianluca Recchia
71c41fccf5
Comply with the XDG protocol in the README ( #966 )
2020-05-06 19:57:50 +09:00
Stefano
8846bc6af1
Add Flatpak installation instructions to README.md ( #846 )
...
Tested with https://flathub.org/apps/details/io.neovim.nvim
2020-05-05 21:54:46 -04:00
Harshad Srinivasan
0862a76fdd
Updated readme ( #967 )
...
Co-authored-by: Harshad Srinivasan <harshad.srinivasan@lmi3d.com>
2020-05-05 21:28:53 -04:00
Junegunn Choi
54d837fa54
Load plugin before running funcref hook
...
Fix #964
Fix https://github.com/junegunn/fzf.vim/issues/1008
2020-05-03 16:59:22 +09:00
Jan Edmund Lazo
e718868e85
Use list type for command in s:spawn() ( #959 )
...
This allows Neovim to bypass the shell and run git directly.
Vim still needs the shell because of how commands are collapsed on Windows and because setting the job's working directory via "cwd" does not work.
Refactored s:clone_opt to a list to make this possible.
2020-04-11 10:49:47 -04:00
Jan Edmund Lazo
668bc0fd2a
Support list type command for s:system to reduce batchfiles on Windows ( #956 )
...
* s:system supports list type for command
Objective is to reduce batchfiles on Windows.
List type gives more flexibility on s:system()
on how to pass the shell command to the builtin system().
If system() supports list type for command
and there is no working directory, run it directly on system().
Targets Neovim only.
Else, convert the list to an escaped command
so that the user's shell can execute it.
Neovim's system() does not support working directory system()
so consider refactoring s:system to use a synchronous job.
* Do not escape simple shell arguments
Regexp taken from vim-fugitive s:shellesc().
* Set shellredir on Windows
Prep to use list type for command passed to s:system() within s:spawn()
* Internalize shellredir for s:spawn
s:spawn needs to redirect stderr to stdout for jobs callbacks
but s:system (for old Vim versions) sets shellredir if needed.
* Leverage job api for cwd and stderr
Vim/Neovim support stderr redirection and support error callbacks.
Vim 8 and Neovim can set a job's working directory via 'cwd' key
but it cannot be used as is on Vim because CI fails for the Vim release in Ubuntu Bionic and the latest Vim release.
2020-04-10 15:40:28 -04:00
Henré Botha
c3b6b7c297
Clarify error message ( #931 )
...
The existing error message printed when plug#end() is called without
calling plug#begin() doesn't make the dependence on plug#begin()
obvious; I had to go digging in the vim-plug code to discover what I'd
done wrong. This attempts to clarify the error a bit, to make it more
obvious to a user.
2020-01-27 22:48:16 +09:00
Jan Edmund Lazo
2f5f74e5e6
Validate last buffer line of g:plug_window ( #927 )
...
Close #926
This fix shouldn't be necessary
because vim-plug's buffer should always have 4 lines
but a buffer can be modified in some cases
before nvim 0.4.0 and vim v8.1.1360.
2020-01-05 19:59:59 -05:00
Jan Edmund Lazo
b2aa5724c0
Use iconv() only if +iconv is enabled. ( #921 )
...
TODO: Avoid iconv() for commands using ascii only.
2019-12-27 22:35:49 -05:00
Jan Edmund Lazo
359ce90b9b
Encode batchfile in current codepage. ( #913 )
...
Changing chcp breaks cmd.exe if switching from multi-byte to 65001.
cmd.exe depends on codepage to parse batchfile
so batchfile cannot have unicode characters.
Target powershell if unicode support is required.
User should fix their terminal font to display unicode characters.
Terminal programs can only use Wide String APIs.
For Vim, this requires +multi_byte feature and `set encoding=utf-8`
in the user's vimrc.
Neovim always defaults to `set encoding=utf-8`.
https://dev.to/mattn/please-stop-hack-chcp-65001-27db
2019-12-11 08:28:49 -05:00
Jan Edmund Lazo
e6ed2e5658
Do not show git signatures in diff window ( #918 )
...
git v2.10.0 adds "log.showSignature" config
so that "git log --show-signature" runs by default.
Changing the commit format via "--pretty" does not prevent the signature
from appearing.
Only "--no-show-signature" prevents this.
Close #728
2019-12-09 23:26:56 -05:00
Jan Edmund Lazo
897ce5e2fa
Set/unset shellslash on jobstart ( #917 )
2019-12-07 01:05:57 -05:00
Jan Edmund Lazo
d2f8ca2dbc
Detect shellslash on Windows ( #916 )
...
Warn user if shellslash and shell are incompatible.
Set/unset shellslash for file functions on Windows. Based on 16fc6862a8/plugin/fzf.vim (L30-L107)
Support shellescape for git-bash
Windows user may not set shellslash but wish to use git-bash.
This requires custom shellescape for sh,bash shells
because builtin shellescape() depends on shellslash.
Tested on Vim
2019-12-05 19:34:41 -05:00
Jan Edmund Lazo
93b702512d
Fix shellescaping for git refs and batchfile on Windows ( #909 )
...
It was using s:esc() which escapes spaces with a backslash.
This does not work on Windows.
&shell could be escaped on because of spaces.
See patch-8.0.1455 and related 8.1.x patches that address this
for $SHELL on Unix and git-bash on Windows.
Related #852 , #908
Close #890
2019-12-01 21:01:17 -05:00
Jan Edmund Lazo
68fef9c2fd
Delete batchfile only if it exists ( #901 )
...
Close #900
2019-11-03 21:10:37 -05:00
Daniel Hahler
eee50c55bf
Use s:path with s:rtp always ( #694 )
...
Having a trailing slash with &rtp entries is problematic when removing
them later: if loading on demand is used, s:reorg_rtp might fail to
remove the previous runtime paths.
Test case has been using maktaba (which triggers unsetting s:middle in
s:reorg_rtp), but because of the trailing slashes being used, the
previous rtp entries were not removed.
2019-10-20 21:52:29 -04:00
Jan Edmund Lazo
96046c01c3
Detect WSL (Neovim only) ( #887 )
...
`has('wsl')` works since Neovim v0.3.0 (5d2dd2ebe2
)
Fix: https://github.com/junegunn/vim-plug/issues/821
2019-10-14 13:38:26 -04:00
Jan Edmund Lazo
fcfd5b7e1f
Use chcp only if sed is in PATH ( #891 )
...
chcp parsing is fragile because of the system locale. There's no convenient way to parse out the codepage value without regex just by relying on cmd.exe builtins and default binaries in PATH.
Vim can be used to parse chcp output but it requires an additional `system` per `s:system` and `chcp` can change within the same console so caching the value won't work on the terminal.
Powershell supports regex but it has a long startup even with `-NoProfile` so running it when `&shell` is not powershell slows down `:PlugInstall` more.
2019-10-14 07:55:41 -04:00
Jan Edmund Lazo
849b76be90
Fix chcp parsing for the current codepage ( #888 )
...
Relying on delimiters or token positions is fragile.
Last value of 'chcp' output is always a number.
2019-10-03 21:19:11 -04:00
Roman Frołow
ff97806e50
Add path for Neovim on Windows ( #789 )
...
Neovim provides `stdpath` to abstract the directory paths that it uses based on the OS. It respects `XDG` specification on Linux and uses `%LOCALAPPDATA%` on Windows.
1. Use `stdpath('data') . '/plugged'` for plugin directory.
2. Use `stdpath('config')` for user-config directory. This is `~/.config/nvim/` on Linux and `%LOCALAPPDATA%\nvim\` on Windows.
2019-09-28 20:30:50 -04:00
gh4w
68b31a4a66
output of chcp was not parsed correctly ( #886 )
...
* output of chcp was not parsed correctly
On Windows, when wrapping a batch command with the function s:wrap_cmds(),
when calling 'chcp' to get the current code page, the code assumed that
the output was in the format "active code page: XXX" (where XXX is the
code page), whereas the actual output is localized (for instance, in
French, the output would be: "page de code active: XXX").
The parsing of the output relied on that, and this failed for a
message different from "active code page" (i.e., English).
This patch changes the parsing to split the output of chcp on the colon
instead of spaces. Assuming that the output is always in the format
"<localized message>: XXX", regardless of the locale, hopefully, this is
a bit more robust.
2019-09-28 20:10:13 -04:00
Junegunn Choi
46f843aafe
Add collaborators section
2019-09-03 10:52:29 +09:00
Jan Edmund Lazo
ebd534c88b
Travis: use default image for osx ( #871 )
...
Fix https://travis-ci.org/junegunn/vim-plug/jobs/573145961#L211-L217
2019-08-17 16:51:07 -04:00
Jan Edmund Lazo
3b29e1e6e2
Travis: add macOS 10.14 ( #870 )
2019-08-18 00:44:24 +09:00
Jan Edmund Lazo
307b0f244d
travis: add ubuntu bionic,xenial ( #867 )
...
Travis defaults to it since this year.
Ubuntu trusty reached EOL since April 2019.
Ubuntu bionic provides Vim 8.
Simplify OS install with Travis' apt addon
so that only Vim nightly will be compiled from source.
Ubuntu 14.04.6 provides ruby v.1.9.3, not 1.8.x or older.
Use it to test the ruby provider for backward compatibility.
Signed-off-by: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
2019-08-17 12:46:08 +09:00
Jan Edmund Lazo
8a44109329
Fix Windows support for Unix shells and powershell ( #860 )
...
Excerpt from `:h shell-powershell`:
To use powershell (on Windows):
set shell=powershell shellquote=( shellpipe=\| shellxquote=
set shellcmdflag=-NoLogo\ -NoProfile\ -ExecutionPolicy\ RemoteSigned\ -Command
set shellredir=\|\ Out-File\ -Encoding\ UTF8
2019-08-16 17:55:17 +09:00
Minsoo Kim
0b32d2d23e
Update YCM path: Valloric -> ycm-core ( #869 )
2019-08-13 23:15:51 +09:00
Jan Edmund Lazo
226d6abeb2
Don't override shell on Windows ( #856 )
...
Assume that the user set the shell options correctly
before running vim-plug so that the user can use bash or powershell
as their shell.
Close #815
2019-07-16 09:06:27 +09:00
Harry Moreno
fddbcb8f1a
Change PlugClean description ( #853 )
...
Be more clear about uninstalling plugin directories.
2019-07-09 16:16:02 +09:00
Jan Edmund Lazo
f1ad2d864a
Escape batchfile path on Windows ( #850 )
...
Close #832
2019-06-17 23:00:59 +02:00
Junegunn Choi
08e78d8a5e
Avoid downward search when using finddir
...
Close #750
2019-05-29 18:29:11 +09:00
Junegunn Choi
518a3566c3
Escape arguments to git command during PlugUpgrade
...
Fix #832
2019-04-11 17:53:13 +09:00
Daniel Hahler
d1c19a6fa9
Travis: rename vim72 to vim74 ( #723 )
2019-02-22 11:14:16 +09:00
Nate Fischer
734d9a11b5
Use 'rtp' option to filter diff ( #798 )
...
Previously, `:PlugDiff` would show every new commit to a plugin's git
repo. This makes sense for the general case, but makes less sense when a
plugin lives in a subdirectory of the repo (and is configured with the
'rtp' option). This makes it difficult to determine which commits relate
to the plugin and which are unrelated.
This changes `:PlugDiff` to filter out any commits outside of the 'rtp'
folder.
Some consequences:
* This does not change the `:PlugUpdate` UI. This means `:PlugUpdate`
may pull down non-plugin commits, display that it has updated the
plugin, and then `:PlugDiff` will show no updates (since such commits
fall out of the 'rtp' path).
* It also means there's no UI to revert non-plugin updates, as they
don't show up in `:PlugDiff`.
2018-11-04 03:00:00 +09:00
Junegunn Choi
b6050d6f03
Allow cloning into an empty directory ( #782 )
...
Close #766
We can rely on git to check if the destination directory is empty.
2018-09-12 13:45:38 +09:00
Junegunn Choi
7f8fdd0444
Ignore useless use of on-demand loading ( #786 )
2018-09-12 13:40:33 +09:00
Samuel D. Leslie
8ed2617ba0
Add support for parallel fetching of Git submodules ( #784 )
...
Git v2.8 introduced support for parallel fetching of submodules. This
can result in a substantial performance boost when performing a "git
submodule update" in a repository with many submodules, potentially
further magnified when updating submodules recursively.
This commit introduces a check on the Git version to see if it supports
parallel submodule fetching. If it does, we add the '--jobs=N' argument
to our call to "git submodule update", where N is g:plug_threads or the
vim-plug default of 16.
2018-09-06 14:48:54 +09:00
Árni Dagur
0a255ee62d
Clear colorcolumn in vim-plug buffer ( #779 )
2018-08-08 10:52:00 +09:00
dohq
e0ca037a4f
has('win32') is enough for detecting Windows ( #765 )
2018-06-20 18:18:50 +09:00
Junegunn Choi
f80eed7379
Add <plug>(plug-preview) map ( #769 )
...
This allows you to override the default behavior of `o' or `<cr>'
binding in PlugDiff window.
e.g.
" Move to preview window
autocmd! FileType vim-plug nmap <buffer> o <plug>(plug-preview)<c-w>P
Close #749
Close #768
2018-06-20 18:09:06 +09:00
WADA Takashi
fef4e434ba
Fix Windows batch file format ( #755 )
...
`writefile()` always output LF without CR each lines.
But batch file on Windows needs CR and LF, at end of lines.
And if the path of home directory contains non-ASCII
characters like Japanese username (e.g. `C:\Users\太郎`),
batch file without CR can't be executed correctly.
2018-05-12 11:21:17 +09:00
Daniel Hahler
e6a775e0df
Fix handling of changed up-to-date msg from Git ( #724 )
...
The msg was changed from 'Already up-to-date' to 'Already up to date'.
2018-03-04 13:43:13 +09:00
Junegunn Choi
96375cb7d3
Update README and add vim help file
...
Close #705
2017-11-27 00:58:29 +09:00
Junegunn Choi
2f4dc4d482
Add link to automatic installation instructions
...
Close #711
2017-11-27 00:15:46 +09:00
Daniel Hahler
9813d5ead5
Display not-loaded status with all plugins that have a dir ( #547 )
2017-10-15 18:12:15 +09:00
Junegunn Choi
ddc67fc136
Fix helptags generation for plugins with custom rtp
...
Close #684
2017-09-25 00:00:03 +09:00
Junegunn Choi
cd44b03db2
Remove extra quotes in PlugDiff output ( #680 )
2017-09-20 11:28:52 +09:00
Jan Edmund Lazo
4f95bce2f4
Fix PlugDiff for Windows ( #681 )
...
Close #680
2017-09-20 11:02:54 +09:00
Jan Edmund Lazo
7f96c98b0a
Prepend 'silent' to ':!' to avoid hit-enter prompt ( #678 )
...
Close #606
Fix for GVim on Windows.
2017-09-19 13:53:35 +09:00
Jan Edmund Lazo
05c8983d1a
Port fzf#shellescape ( #676 )
...
Close #635
Close #668
Close #539
Use a temporary batchfile for :!, system(), and jobs and run it in cmd.exe.
This bypasses Vim/Neovim issues in Windows and reduces the need to set more options.
Also, s:shellesc_cmd works in a batchfile only.
Set shellredir for system() in Windows
$SHELL sets the default value of 'shell' (see :h 'shell').
This affects shellredir but cmd.exe requires '>%s 2>&1'.
2017-09-19 10:37:22 +09:00
Junegunn Choi
b93975f794
Fix Travis CI build (dist: trusty) ( #670 )
2017-09-10 03:38:38 +09:00
Junegunn Choi
88cc9d7868
Create LICENSE
2017-07-10 13:21:14 +09:00
Andrew Pennebaker
cd39fa6133
Hard-wrap installation instructions for Windows ( #649 )
...
Long snippets are sometimes difficult to fully select in a Web browser.
Hard wrapping snippets to make them easier to grab.
2017-07-01 00:26:04 +09:00
Junegunn Choi
449b4f1ed6
Disallow using standard Vim plugin directory as plug home
...
Close #646
2017-06-27 17:44:12 +09:00
Junegunn Choi
802b100415
Extend plug#load to process a list of names instead of varargs
...
Allows `call plug#load(keys(g:plugs))` for manually loading all plugins
at once. Close #638 .
2017-06-06 16:17:31 +09:00
Junegunn Choi
06992bcfb9
Update installation instruction for Neovim on Windows ( #634 )
...
Close #633
2017-05-19 03:17:46 +09:00
Junegunn Choi
f7e6a86807
Deprecate implicit vim-scripts expansion
...
vim-scripts.org is no longer maintained.
Close #625
2017-05-01 21:31:57 +09:00
Daniel Hahler
61ffb61615
Travis: VADER_OUTPUT_FILE=/dev/stderr for neovim ( #618 )
2017-04-17 02:47:15 +09:00
Daniel Hahler
9dcab48628
Load plugins only once in plug#load ( #616 )
...
When loading 'deoplete.nvim' for the 2nd time during InsertEnter
manually, the `s:dobufread` (or `s:lod` itself) prevents it to work
properly - likely because the plugin gets resourced.
Maybe there could be a way to force this (and reload plugins always),
but by default it seems to make sense to skip already loaded plugins.
2017-04-17 02:46:02 +09:00
Andrew Nowak
1d3c88292b
Fix invalid diagnosis of PlugStatus with wildcard tags ( #619 )
2017-04-14 10:13:49 +09:00
Justin M. Keyes
580f0a559c
nvim: Enable job-control nvim 0.2+ ( #617 )
...
Closes #583
References https://github.com/neovim/neovim/pull/6497
2017-04-12 11:10:09 +09:00
Junegunn Choi
46ae29985d
Proper escaping of tag patterns
...
Close #610
2017-04-04 17:45:37 +09:00
Christian Rondeau
7f4e6cb843
Fix crlf in clones under cygwin ( #608 )
...
Close #497
2017-03-13 01:09:25 +09:00
Junegunn Choi
769192d3d0
Append -- to git checkout commands
...
Checking out a branch or tag may not succeed if there is a path entry
with the same name. This commit appends -- to git checkout commands to
clarify that we're not referring to a file or a directory.
Close #602
2017-02-26 03:35:45 +09:00
Junegunn Choi
e3252aae2c
Commit hash in PlugDiff output can be longer than 7 characters
...
Close #597
2017-02-17 13:33:32 +09:00
Junegunn Choi
f551a71688
Add plugin to &rtp before running post-update hook with : prefix
...
Close #593
2017-02-11 23:27:52 +09:00
Junegunn Choi
e80a93d5d0
Fix Ruby installer on macOS system Vim
...
- Do not use io/console
- Interrupting threads crashes Vim, so don't do it
Close #592
Related #537 , #538
2017-02-11 11:17:47 +09:00
Junegunn Choi
d1ac3cdd1f
Do not use nomodeline when triggering BufRead
...
Close #587
2017-02-03 13:29:05 +09:00
Nikita Slepogin
359a65230e
Fix job_start with spaces in path in Windows ( #588 )
...
Close #586
Close #565
2017-01-31 21:19:48 +09:00
Junegunn Choi
5e6bd469ac
Update README
2017-01-30 02:20:36 +09:00
Junegunn Choi
8c1aff151d
Update README
2017-01-30 02:19:53 +09:00
Junegunn Choi
d6bda025f1
Fix Vim 8 installer on Windows when path contains spaces
...
Close #565
2017-01-29 18:23:05 +09:00
Junegunn Choi
5fc9eab788
Add --sync flag to Plug{Install,Update}
...
Installer is not synchronous when started on VimEnter since
has('vim_starting') returns 0 in that case. We needed a way to make the
installer synchronous.
Related: #574
2017-01-04 02:00:00 +09:00
Junegunn Choi
93ffcb36de
Commit preview should work with non-POSIX-compliant &shell
...
Close #572
2017-01-02 13:06:51 +09:00
Daniel Hahler
d5e9f91c7b
Travis CI: sudo: false ( #561 )
2017-01-01 12:08:09 +09:00
Daniel Hahler
0b1343b582
test/run: shellcheck fixes ( #562 )
2016-12-30 11:29:00 +09:00
Junegunn Choi
f916aabfbe
Update documentation
...
/cc @accolade
2016-12-19 01:59:24 +09:00
Junegunn Choi
b50f9bb16b
More description on plug#end
...
Related: #379
2016-12-18 12:12:57 +09:00
Junegunn Choi
8180692f81
Update usage examples
...
vim-plug has no support for dependencies. Remove comment that has been
a source of confusion. #544
2016-12-18 12:06:19 +09:00
Junegunn Choi
a4aac4cf56
Do not check Ruby interface when parallel update is not needed
...
In case Ruby interface is completely broken that simply running
`:ruby require 'thread'` crashes Vim.
Close #564
2016-12-13 12:26:13 +09:00
Marco Hinz
5bccd9bc98
Neovim: use "dict" when referring to "self" ( #566 )
2016-12-13 12:25:46 +09:00
Daniel Hahler
1540764563
git_validate: better error with checkout being ahead/diverged ( #546 )
2016-12-11 21:43:44 +09:00
Daniel Hahler
b9022d9046
test/workflow.vader: minor Assert improvement ( #563 )
2016-12-11 21:25:33 +09:00
Junegunn Choi
c53ecd3acd
Update installation instruction for Neovim
...
Suggest directories conforming to XDG Base Directory Specification.
Close #559
2016-12-10 18:25:21 +09:00
Junegunn Choi
ca0b726f46
Merge pull request #558 from HiPhish/nospell
...
Do not check spelling in vim-plug buffers
2016-12-04 01:03:05 +09:00
HiPhish
942f994844
Do not check spelling in vim-plug buffers
2016-12-03 12:30:51 +01:00
Junegunn Choi
6ad18f5fb8
Ignore trailing ! in proxy command name
...
Close #557
2016-11-26 12:22:55 +09:00
Junegunn Choi
46ddb4af2d
Set the default completion type of proxy command to "file"
...
Though we do not know the completion type of a command until the command
is loaded, setting it to file seems like the best thing we can do.
2016-11-10 12:03:37 +09:00
Junegunn Choi
54683aa2c7
Merge pull request #552 from midchildan/fix-git-version
...
Fix git version detection
2016-11-04 00:38:09 +09:00
midchildan
8f38888fad
Fix git version detection.
2016-11-03 22:38:45 +09:00
Junegunn Choi
abbbe914f0
Remove unnecessary operations
2016-10-29 04:46:58 +09:00
Junegunn Choi
1f4e3eb063
No need for filetype off
unless g:did_load_filetypes
exists
...
Reference: https://github.com/tpope/vim-pathogen/pull/26
2016-10-28 00:13:12 +09:00
Junegunn Choi
2fa2761b99
Merge pull request #545 from srstevenson/set-nolist
...
Set nolist in vim-plug buffers
2016-10-27 12:48:26 +09:00
Scott Stevenson
078f32142d
Set nolist in vim-plug buffers
2016-10-26 22:30:41 +01:00
Junegunn Choi
49c6b781e0
Do not prepend COUNT"REGISTER when feeding keys in insert mode
...
Close #543
2016-10-25 23:12:05 +09:00
Junegunn Choi
f4427b97f1
Merge pull request #541 from junegunn/vim8
...
Asynchronous +job installer on Vim 8
2016-10-19 08:10:20 +09:00
Junegunn Choi
6287ba88d5
Fix installer output
...
- Same output format across different installers
- Avoid unnecessary construction of result string
- Fix multi-line error logging when exit_cb is called before out_cb
2016-10-18 14:30:48 +09:00
Junegunn Choi
1bbb7a55e3
Update Vim 8 requirement
...
https://github.com/junegunn/vim-plug/issues/498#issuecomment-254239466
2016-10-18 00:32:27 +09:00
Junegunn Choi
d1022e948e
Address out-of-order invocation of out_cb and exit_cb
2016-10-18 00:31:36 +09:00
Junegunn Choi
b94607b172
Update README: +job
2016-10-17 18:00:20 +09:00
Junegunn Choi
6bff19c2a9
Set out_mode to raw for progress report
2016-10-17 17:52:13 +09:00
Junegunn Choi
759103d074
Refactor job callbacks with partial
2016-10-17 17:51:42 +09:00
Yasuhiro Matsumoto
b32169ff30
Use job_start on vim
...
Close #498
Close #534
2016-10-17 16:16:03 +09:00
Junegunn Choi
3f7344d2cc
Set up Travis CI build for Neovim
2016-10-17 15:34:20 +09:00
Junegunn Choi
7928057108
Make Neovim installer synchronous during startup
...
Close #104
This allows for `nvim +PlugUpdate +qa` without Python.
2016-10-17 12:34:09 +09:00
Junegunn Choi
c66e264d41
Fix Ruby installer on Vim 8.0.0036 ( #538 )
...
This could be a bug of Vim, but the new method should be safer in the
long run though it doesn't work on Ruby 1.8.
2016-10-17 12:22:20 +09:00
Junegunn Choi
01e4e9170a
Update git URI validation in Ruby and Python installers
...
Contd. #530
2016-10-14 13:44:56 +09:00
Junegunn Choi
0662b5f4cc
Fix Travis CI failure
2016-10-09 05:17:34 +09:00
Junegunn Choi
a2f1ea481d
Reuse existing plug window
...
Close #532
2016-10-09 04:48:53 +09:00
Junegunn Choi
7bad3e7802
Merge pull request #531 from junegunn/fix-530
...
Improve git URI validation
2016-10-08 23:48:52 +09:00
Junegunn Choi
6575bd65b1
Improve git URI validation
...
Close #530
2016-10-08 23:32:48 +09:00
Junegunn Choi
5d8c4bfc1f
Print exception from post-update hook with : prefix
2016-10-08 23:22:06 +09:00
Junegunn Choi
c0a83826f9
Print warning message when plug window is closed
2016-10-08 23:06:24 +09:00
Junegunn Choi
6454158846
Merge pull request #522 from jmatth/fix-visualhostkey
...
Fixing E684 when VisualHostKey is enabled for ssh
2016-09-16 14:12:41 +09:00
Josh Matthews
1f206db965
Fixing E684 when VisualHostKey is enabled for ssh
...
Having VisualHostKey enabled for ssh can cause lines containing a single
"^M" character to appear in the git output, which causes E684 to be
thrown if not filtered out.
2016-09-15 16:35:11 -04:00
Junegunn Choi
f4381fb748
Fix loading on c-operator
...
Close #518
2016-09-11 12:04:08 +09:00
Junegunn Choi
561518fd8c
Print post-processing error in multi-line paragraph
...
Related #510
2016-08-15 00:46:10 +09:00
Junegunn Choi
b44ea685aa
Merge pull request #508 from mhinz/silence-deletions
...
Silence :delete commands
2016-08-01 09:52:29 +09:00
Marco Hinz
9df0580eff
Silence :delete commands
...
Add :silence to all :delete commands to avoid filling up the message history
with "1 line less" messages, in case 'report' is set to 0.
2016-07-31 22:50:50 +02:00
Junegunn Choi
e15598fe45
Add g:plug_pwindow for customizing preview window layout
...
Close #504
2016-07-23 18:36:30 +09:00
Junegunn Choi
326cb71a2a
No period in echo message
2016-07-23 18:07:12 +09:00
Junegunn Choi
c9a7ca1e9e
Define d operator for selectively removing invalid directories
...
Fix #503
2016-07-23 18:02:00 +09:00
Junegunn Choi
5695fb8474
Do not proceed if $GIT_DIR or $GIT_WORK_TREE is found
...
Close #506
2016-07-23 10:13:25 +09:00
Junegunn Choi
f68a4fddae
Update example: youcompleteme#Enable is no longer needed
...
Close #501
2016-07-15 12:18:21 +09:00
Junegunn Choi
17996cedce
Support { 'do': ':VimCommand' } notation
...
Close #450
2016-07-13 23:01:41 +09:00
Junegunn Choi
460fbe82e0
Ignore inconsistencies between g:plugs and g:plugs_order
...
https://github.com/junegunn/vim-plug/issues/469#issuecomment-226965736
2016-06-19 11:18:20 +09:00
Junegunn Choi
05a1620bb1
Put cursor inside the installer window after post-update hook
...
https://github.com/chrisbra/unicode.vim/issues/16
2016-06-16 22:17:21 +09:00
Junegunn Choi
cb5bed0e35
Always set register in map-based ODL
2016-05-31 15:27:27 +09:00
Junegunn Choi
44893a1901
Fix #491 - Lazy-loading with omaps
2016-05-31 12:44:48 +09:00
Junegunn Choi
765a2d21d3
Do not trigger BufRead if not necessary
...
Close #490
2016-05-23 22:22:43 +09:00
Junegunn Choi
eb25f320a0
Fix travis CI build
2016-05-23 13:15:57 +09:00
Junegunn Choi
7c7ef8cf2f
Trigger BufRead when a plugin is loaded by on
condition
...
Close #489
2016-05-23 13:11:06 +09:00
Junegunn Choi
a8b09617f9
Clarify that function call requires call
...
Close #487
2016-05-23 01:12:09 +09:00
Junegunn Choi
bf1e0fb8eb
Do not use Ruby older than 1.8.7
...
Close #482
2016-05-13 02:06:00 +09:00
Junegunn Choi
656ccef8dc
Switch &shell during submodule update
...
Fix #481
2016-04-29 13:39:17 +09:00
Junegunn Choi
41de3c713c
Export Plug command as plug# function
...
https://github.com/junegunn/vim-plug/issues/477#issuecomment-212746298
One can directly use it to redefine Plug command:
function! s:plug_with_default(...)
call plug#(a:1, extend(get(g:, 'plug_opts', {}), get(a:000, 1, {})))
endfunction
command! -nargs=+ Plug call s:plug_with_default(<args>)
2016-04-22 02:50:04 +09:00
Junegunn Choi
0507fc897e
Merge pull request #476 from junegunn/tag-wildcard
...
Support wildcards in tag option
2016-04-17 18:40:31 +09:00
Junegunn Choi
e6ea538558
Support wildcards in tag option
...
Close #427
2016-04-17 15:32:34 +09:00
Junegunn Choi
3de4567bc0
Fix error in test script
2016-04-17 01:45:51 +09:00
Junegunn Choi
0d9efb01c7
Fix #474 - Load ftdetect files in filetypedetect augroup
2016-04-17 01:13:13 +09:00
Junegunn Choi
92bcecddd6
Revert "Use python2 for YCM post-installation"
...
This reverts commit 367e61b6b0
.
2016-04-14 00:43:10 +09:00
Junegunn Choi
d1752e7d14
Merge pull request #467 from hobarrera/ycm-py2
...
Use python2 for YCM post-installation
2016-04-13 02:00:40 +09:00
Hugo Osvaldo Barrera
367e61b6b0
Use python2 for YCM post-installation
...
YouCompleteMe's post-installation script only seems to work with python2
(this is actually mentioned in their docs).
It seems that the sample documentation uses the system default python
(which is no longer always python2), so let's better be explicit about
it.
2016-04-12 10:11:08 -03:00
Junegunn Choi
612ee1d461
Update README: PlugInstall! and PlugUpdate!
2016-04-10 21:27:35 +09:00
Junegunn Choi
c6ed41f47e
Detect plugins that are diverged their origins
...
Close #462
2016-04-10 20:33:37 +09:00
Junegunn Choi
0f3bd51d44
Minor refactoring
2016-04-10 20:24:09 +09:00
Junegunn Choi
3595d5b52a
Add comments to test file
2016-04-10 20:21:41 +09:00
Junegunn Choi
10008e5843
Do not patch plug.vim during test
2016-04-10 19:55:10 +09:00
Junegunn Choi
d1351201d9
Merge pull request #463 from yous/force-submodule
...
Make PlugInstall!, PlugUpdate! trigger post-fetch checkout and submodule update
2016-04-04 15:40:14 +09:00
Chayoung You
a61d097037
Make Plug{Install,Update}! trigger post-fetch checkout, submodule update
...
Now `:PlugInstall!` and `:PlugUpdate!` forces to update submodules.
`:PlugInstall!` now also checks out to new specified branch, tag, or
commit.
Also added tests for changing branch, tag, or commit.
2016-04-04 14:05:35 +09:00
Junegunn Choi
158fd28bc4
Fall back to Python installer if Ruby is broken
...
Close #460 . Also remove unnecessary `return 0` statements.
2016-04-01 00:03:45 +09:00
Junegunn Choi
76e9076ef4
Clear message on retry
...
Close #459
2016-03-31 23:06:11 +09:00
Junegunn Choi
36973defbd
Fix #455 - git config should read local .git/config instead of $GIT_CONFIG
2016-03-30 13:25:13 +09:00
Junegunn Choi
82ac9d9075
Use <nomodeline> on User autocmd if possible
...
http://ftp.vim.org/pub/vim/patches/7.3/7.3.442
2016-03-29 23:02:26 +09:00
Junegunn Choi
bdc5c8d3cc
Merge pull request #451 from simonweil/reset-colors-for-show
...
Prevent escape sequences in the preview window from PlugDiff
Steps to reproduce:
1. `git config color.ui always`
2. `PlugDiff`
3. See the content of a commit with `o`
2016-03-26 02:46:06 +09:00
Simon Weil
c1f9d7cdb4
Reset colors for git show
2016-03-25 15:07:14 +03:00
Junegunn Choi
f666048052
Update submodules whenever the repo is updated
...
It's not enough to track the changes in .gitmodules only
2016-03-24 16:17:05 +09:00
Junegunn Choi
db223a4d84
Merge pull request #430 from junegunn/refactor-installer
...
Refactor duplicate logic in installers
2016-03-24 01:26:49 +09:00
Junegunn Choi
eb47183af2
Refactor duplicate logic in installers
...
This commit extracts duplicate logic out of three installers.
Pros.
- Better maintainability
- Easier to add/extend the features
- Fixes a bug when 'commit' option is used, submodules are updated
before the designated commit is checked out
Cons.
- The whole process takes slightly longer due to lost parallelism after pull
- Especially, submodule updates are not parallelized
- However, this shouldn't matter much in practice as there are few
plugins that heavily rely on submodules
2016-03-24 01:06:46 +09:00
Junegunn Choi
e4ddb89c20
Fix regular expressions for hex digits
2016-03-22 12:53:05 +09:00
Junegunn Choi
a4e2c064f0
Update README.md
...
Related: #447
2016-03-17 16:15:45 +09:00
Junegunn Choi
820cc63569
Remove redundant checks of git --version in Neovim installer
...
Related: #445
2016-03-12 12:34:57 +09:00
Junegunn Choi
c463c9fe83
Clarify that the installation script for Windows requires PowerShell
...
https://github.com/junegunn/vim-plug/pull/309#issuecomment-155259326
I take back my words :(
I thought PowerShell means the default Windows shell.
2016-03-06 14:16:56 +09:00
Junegunn Choi
7218143147
Do not proceed if getcwd() returns an empty string
...
Close #439
2016-03-06 11:03:33 +09:00
Junegunn Choi
c3d57ac6b5
Avoid unnecessary runtime command ( #434 )
2016-03-03 13:03:47 +09:00
Junegunn Choi
16902f9003
Use runtime only when the file is not found in the plugin directory ( #434 )
...
There can be multiple files that matches the pattern (e.g.
syntax/foo.vim) in &runtimepath.
2016-03-03 10:53:34 +09:00
Junegunn Choi
b082ae3847
Fix #434 - Use runtime to load syntax file during ft-based ODL
...
A plugin may have 'after/syntax/foo.vim' without 'syntax/foo.vim'.
e.g. https://github.com/pbrisbin/vim-syntax-shakespeare
2016-03-03 10:43:41 +09:00
Junegunn Choi
6246ad284c
Strip trailing whitespaces in PlugDiff output
2016-03-03 02:14:57 +09:00
Junegunn Choi
c06d222480
Merge pull request #428 from junegunn/diff-graph
...
PlugDiff to include graphical representation of commit history
2016-03-03 01:40:59 +09:00
Junegunn Choi
b0f714e812
PlugDiff to include graphical representation of commit history
...
Close #411
2016-02-27 13:02:58 +09:00
Jeremy Pallats/starcraft.man
31b26aa266
Merge pull request #420 from starcraftman/issue_template
...
Fix #416 : Add an issue and PR template.
2016-02-24 19:29:12 -05:00
Jeremy Pallats/starcraft.man
d96e303692
Fix #416 : Add an issue and PR template.
2016-02-24 19:11:18 -05:00
Junegunn Choi
a88753ef4e
Merge pull request #419 from itspriddle/bugfix/syntax-with-cli-command
...
Avoid multiple `syntax enable` during Vim startup
2016-02-21 11:32:55 +09:00
Joshua Priddle
396c60f24c
Avoid multiple syntax enable
during Vim startup
2016-02-20 21:00:06 -05:00
Junegunn Choi
ffd54224a0
Fix #410 - Do not load irrelevant syntax files
2016-02-18 01:34:04 +09:00
Junegunn Choi
8d4c341a0a
Rename script-local function to generate better error message
...
This commit renames s:add which is called on Plug command to s:Plug.
E116: Invalid arguments for function <SNR>2_Plug
Related: #407
2016-02-13 12:44:52 +09:00
Junegunn Choi
3e712f3936
Merge pull request #399 from starcraftman/doc_fix
...
Fix #397 : clarify in docs that GitHub is the default plugin source
2016-02-03 03:57:26 +09:00
Jeremy Pallats/starcraft.man
88e2fa380c
Fix #397 : clarify in docs that GitHub is the default plugin source
2016-02-02 08:40:11 -05:00
Junegunn Choi
03590d8422
Merge pull request #395 from starcraftman/small_fixes
...
Fix #394 : Avoid problem happening.
2016-01-30 05:46:33 +09:00
Jeremy Pallats/starcraft.man
d5a5697dc0
Fix #394 : Avoid problem happening.
...
* Do not map during prepare when function can be async.
Delay to s:finish()
* Always create new buffer, due to mappings change.
* Don't show Pending updates when no appropriate plugs.
* No need for print brackets on python 2.
2016-01-29 15:20:22 -05:00
Junegunn Choi
799e20a682
Better error message when git executable is not found
...
Related: #392 , #52
2016-01-28 13:35:50 +09: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
Jeremy Pallats/starcraft.man
a93bdfc175
Merge pull request #286 from zackhsi/master
...
Update YouCompleteMe install script
2015-09-18 15:57:20 -04:00
Zack Hsi
ded1ab7562
Update YouCompleteMe install script
...
The install script has been changed from `install.sh` to `install.py`.
1b40d683be
2015-09-18 10:51:40 -07:00
Jeremy Pallats/starcraft.man
91fe6ad3e9
Join a thread instead of sleeping.
...
* Instead of having a fixed sleep duration, start a thread
that monitors the subprocess.
* Started thread is joined, if process finishes thread returns
before timeout.
* Should increase speed and reduce overhead on CPU.
2015-09-18 07:13:06 -04:00
Jeremy Pallats/starcraft.man
86e75e5d08
Merge pull request #283 from starcraftman/refactor_command
...
Refactor Python Command & .travis.yml
2015-09-12 14:12:21 -04:00
Jeremy Pallats/starcraft.man
7e1dc1bcc8
Refactor Python code & .travis.yml
...
* Refactor Command class for easier reading.
* Some other minor clean ups & method renames.
* Change travis to use `env` and `matrix` to select builds.
* Use case instead of ifs to select behaviour.
2015-09-12 14:04:34 -04:00
Jeremy Pallats/starcraft.man
58d39115f9
Merge pull request #281 from starcraftman/fix_travis_build
...
Fix #280 : Travis Build - Vim Fails To Compile
2015-09-09 09:23:17 -04:00
Jeremy Pallats/starcraft.man
675b09dbfc
Fix #280 : Travis Build - Vim Fails To Compile
...
* Build broken by some gui_gtk link problem.
2015-09-09 09:17:15 -04:00
Jeremy Pallats/starcraft.man
a190f4e843
Merge pull request #273 from starcraftman/fix_after_syntax
...
Fix #272 PlugUpdate and delayed loading
2015-08-26 09:26:09 -04:00
Jeremy Pallats/starcraft.man
27289deb5c
Fix #272 PlugUpdate and delayed loading
...
* Force syntax files sourcing on lod_ft.
2015-08-26 08:45:34 -04:00
Junegunn Choi
a6f3a020e3
Merge pull request #264 from starcraftman/fix_codec
...
Close #262 UnicodeDecodeError
2015-07-31 03:26:17 +09:00
Jeremy Pallats/starcraft.man
4e5b5b978e
Close #262 UnicodeDecodeError
...
* Problem was default decoder being ascii.
2015-07-30 14:08:34 -04:00
Junegunn Choi
2653f4bdfd
Make it clear that &runtimepath is updated on plug#end()
...
Close #260
2015-07-22 17:52:56 +09:00
Junegunn Choi
69d6c9d545
Need to set modifiable for reloading commit content ( #255 )
2015-07-09 01:25:35 +09:00
Junegunn Choi
51cf219213
Merge pull request #255 from sodapopcan/plug-diff-mappings
...
Make commit preview unmodifiable + map q for quit
2015-07-09 00:30:10 +09:00
Andrew Haust
6286337e5b
Make commit preview unmodifiable + map q for quit
2015-07-07 14:53:38 -04:00
Junegunn Choi
23b508e5fd
Merge pull request #242 from starcraftman/rem_glog
...
Remove GLog.
2015-06-11 01:51:56 +09:00
Jeremy Pallats/starcraft.man
c34b35d50e
Remove GLog.
2015-06-09 20:40:05 -04:00
Junegunn Choi
240dc9cbb6
Fix Travis CI build
2015-05-29 01:07:31 +09:00
Junegunn Choi
f85d4d774b
Test refactoring
2015-05-28 19:03:49 +09:00
Junegunn Choi
50cd5e5819
Remove unused test code
2015-05-28 14:52:07 +09:00
Junegunn Choi
099057da65
Merge branch 'hori-ryota-feature/fixed-bug-of-on-demand-loading'
...
Close #236
2015-05-28 14:45:59 +09:00
Junegunn Choi
8e0fcf88c0
Merge branch 'feature/fixed-bug-of-on-demand-loading'
2015-05-28 14:45:30 +09:00
Junegunn Choi
025f314144
Add failing test case for #236
2015-05-28 14:45:14 +09:00
Hori Ryota
48fba1454b
Bugfix of on-demand loading
2015-05-28 14:18:35 +09:00
Junegunn Choi
2ed1f27aa2
Explicitly reset s:-variables during test
2015-05-28 12:34:43 +09:00
Junegunn Choi
7760f1c22b
Merge pull request #235 from starcraftman/simple_depends
...
Update examples: inline declaration
2015-05-24 11:41:22 +09:00
Jeremy Pallats/starcraft.man
0bd23f5b47
Inline dependency example.
2015-05-23 19:50:38 -04:00
Junegunn Choi
0227c78910
Merge pull request #233 from itspriddle/fix-diff-display
...
Specify a format when `git show` displays a commit
2015-05-20 09:48:12 +09:00
Joshua Priddle
8a72305371
Specify a format when git show
displays a commit
2015-05-19 14:00:31 -04:00
Junegunn Choi
018b48e071
Merge pull request #232 from junegunn/user-autocmd
...
Trigger User autocmd when plugin is loaded on demand (#231 )
2015-05-20 02:10:01 +09:00
Junegunn Choi
7ace0c42db
Trigger User autocmd when plugin is loaded on demand ( #231 )
2015-05-20 01:38:05 +09:00
Junegunn Choi
179fa7bb82
Check if autocmd defined before doautocmd
...
This removes `No matching autocommands` message
2015-05-20 00:33:02 +09:00
Junegunn Choi
76bce26ab8
Temporarily change shellredir ( #159 )
2015-05-15 22:18:07 +09:00
Junegunn Choi
36e4364b81
silent! redraw is simpler
2015-05-11 12:36:55 +09:00
Junegunn Choi
76ec644114
Force evaluation of &statusline before running installer
...
Close #228
2015-05-11 12:35:48 +09:00
Junegunn Choi
9e0a082a3d
Merge pull request #227 from starcraftman/starting
...
Use Python installer on Neovim during `vim_starting` (#104 )
2015-05-07 01:33:14 +09:00
Jeremy Pallats/starcraft.man
9bee42ca0a
Neovim Python Support
...
* Buffer updates now managed by __main__ loop with buf_q.
* Synchronous neovim install temporarily provided by python installer.
* Known issues:
* No ctrl-c/interrupt support on nvim.
* Graphical bug: https://github.com/neovim/python-client/issues/103
2015-05-06 12:00:26 -04:00
Junegunn Choi
18313fa43e
Update README
2015-05-03 22:10:32 +09:00
Junegunn Choi
32eb4f5cbe
Update README
2015-05-02 23:55:55 +09:00
Junegunn Choi
96824ccd14
Merge pull request #219 from starcraftman/py3
...
Support Python 2.6+ & 3.0+
2015-05-02 23:47:36 +09:00
Jeremy Pallats/starcraft.man
ef4549d2d1
Support Python 2.6+ & 3.0+
...
* Seamless support of both version with same code.
* Added test version for py3 on RVM = 2.1.0.
2015-05-02 10:21:02 -04:00
Junegunn Choi
d738da2ddb
Merge pull request #221 from junegunn/shallow-clone
...
Shallow clone by default (#122 #217 )
2015-04-30 14:01:30 +09:00
Junegunn Choi
d17d10dccb
Add test case where shallow-clone is disabled by tag
2015-04-30 13:51:52 +09:00
Junegunn Choi
6677e8bffd
Add test case for g:plug_shallow
2015-04-29 13:27:37 +09:00
Junegunn Choi
80ca4ebf54
Shallow clone by default ( #122 #217 )
2015-04-28 22:54:35 +09:00
Junegunn Choi
8f1df15cc3
Revert "Shallow clone by default ( #122 #217 )"
...
This reverts commit c632c1fd6a
.
2015-04-28 13:47:14 +09:00
Junegunn Choi
2218b8fe20
Merge pull request #218 from junegunn/shallow-clone
...
Shallow clone by default #122 #217
2015-04-28 13:42:25 +09:00
Junegunn Choi
c632c1fd6a
Shallow clone by default ( #122 #217 )
2015-04-27 10:50:55 +09:00
Junegunn Choi
42300e0c4d
Merge pull request #211 from mhinz/accept-lowercase-plug
...
Ignore case for "<Plug>"
2015-04-12 21:08:19 +09:00
Marco Hinz
13de76383d
Ignore case for "<Plug>"
2015-04-12 13:45:27 +02:00
Junegunn Choi
481a400ba4
Merge pull request #208 from starcraftman/travis_changes
...
Download Vim source from GitHub
2015-04-08 20:56:44 +09:00
Jeremy Pallats/starcraft.man
02710070a1
Testing changes.
2015-04-08 07:22:46 -04:00
Junegunn Choi
e04f93b162
Improve check of Neovim Job API
...
Checking for the existence of `jobwait()` function seems like a more
robust way to check if the current Neovim process meets the requirement
of the parallel installer. This condition precludes a very old version
of Neovim built even before the initial Job API was implemented.
2015-04-07 22:28:13 +09:00
Junegunn Choi
923f3fb3d5
Print warning message on old Neovim ( #206 )
...
Suggested by @starcraftman.
2015-04-07 22:20:34 +09:00
Junegunn Choi
6a7efea26b
Fix local plugin judgement on Windows ( #205 )
2015-04-07 04:06:59 +09:00
Junegunn Choi
0e3e1cab75
Merge pull request #201 from junegunn/git-upgrade
...
PlugUpgrade using git (close #200 )
2015-04-03 01:26:24 +09:00
Junegunn Choi
27354c826e
PlugUpgrade using git
2015-04-03 00:47:18 +09:00
Junegunn Choi
650927980d
Merge pull request #198 from starcraftman/new_job_api
...
New Neovim Job API
2015-03-30 11:40:21 +09:00
Jeremy Pallats/starcraft.man
047fbba4cd
New dict format.
2015-03-27 13:03:46 -04:00
Jeremy Pallats/starcraft.man
fa5ece81f7
New neovim jobs API.
2015-03-26 10:41:43 -04:00
Junegunn Choi
e1b7f1ae85
Update usage and license in plug.vim
2015-03-24 00:00:35 +09:00
Junegunn Choi
cf1f644aa8
Merge pull request #194 from starcraftman/master
...
Fix for #193 Missing status when PlugUpdate
2015-03-23 09:15:59 +09:00
Jeremy Pallats/starcraft.man
8da3942484
Fix for #193 Missing status when PlugUpdate
2015-03-22 15:49:53 -04:00
Junegunn Choi
cbaf4f3088
Allow using Ruby/Python for PlugUpgrade on Windows ( #192 )
2015-03-15 13:04:47 +09:00
Junegunn Choi
a06687b4ed
Slim
2015-03-15 03:13:24 +09:00
Junegunn Choi
9abd50facd
Change the default number of threads on Windows to 1 ( #191 )
2015-03-14 14:32:24 +09:00
Junegunn Choi
b3226fbbf6
Merge pull request #189 from starcraftman/master
...
Disable Python on Cygwin
2015-03-12 23:06:56 +09:00
Jeremy Pallats/starcraft.man
d0120cfb45
Disable on cygwin for now.
2015-03-12 09:57:12 -04:00
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
Junegunn Choi
de81f95f69
Use black hole register when emptying buffer
2014-04-15 02:01:47 +09:00
Junegunn Choi
b7cf1ca65a
Echo "Press 'D'" message only on PlugUpdate
2014-04-15 02:00:39 +09:00
Junegunn Choi
7fa22a6927
PlugDiff: Display commit info in preview window
2014-04-14 21:20:21 +09:00
Junegunn Choi
6f487f1579
Explicitly return 0
2014-04-14 20:27:23 +09:00
Junegunn Choi
f8fcc81783
Use s:esc function
2014-04-09 15:25:21 +09:00
Junegunn Choi
32dc4ca93f
Change PlugDiff message (suggested by @beloglazov in #17 )
2014-04-09 11:59:46 +09:00
Junegunn Choi
7047eda149
Change PlugDiff message (thanks to @beloglazov)
2014-04-09 11:22:20 +09:00
Junegunn Choi
5679540a2a
Less LOC
2014-04-09 01:03:43 +09:00
Junegunn Choi
d2f6c09c7a
Fix syntax highlighting ( #17 )
2014-04-09 00:53:37 +09:00
Junegunn Choi
acbba74fe2
Fix output format ( #17 )
2014-04-09 00:40:19 +09:00
Junegunn Choi
47a3bebb30
Fix test case for PlugStatus
2014-04-08 21:47:57 +09:00
Junegunn Choi
f00dacd7bd
Add PlugDiff command ( #17 )
2014-04-08 21:43:49 +09:00
Junegunn Choi
8986f87b83
Change PlugStatus output to match those of other commands
2014-04-08 21:33:38 +09:00
Junegunn Choi
ae6f3254d8
Place cursor on the 2nd line during PlugClean
2014-04-08 21:32:29 +09:00
Junegunn Choi
0c1744a819
Merge pull request #16 from CD3/load-order
...
Respect plug load order (for dependencies)
2014-03-30 12:08:33 +09:00
C.D. Clark III
b763cae81a
added plug load order (for dependencies)
...
plugin directories now appear in the runtime path in the same order they
are listed. this allows plugs that depend on other plugins to be loaded
after their dependencies.
2014-03-29 21:29:54 -05:00
Junegunn Choi
358363eefc
Support paths with spaces ( #15 [, #14 ])
2014-03-27 01:07:09 +09:00
Junegunn Choi
c827d2fa05
Merge pull request #13 from junegunn/shellesc
...
Replace shellescape function to avoid error when &shellslash is set
2014-03-19 12:22:30 +09:00
Junegunn Choi
2ef9b8a492
Replace shellescape function to avoid error when &shellslash is set
2014-03-19 12:15:26 +09:00
Junegunn Choi
2a3a40dd42
Fix PlugStatus/PlugClean on Windows
2014-03-19 00:43:37 +09:00
Junegunn Choi
411bb2bef9
Update README (Related: #12 )
2014-03-14 01:32:08 +09:00
Junegunn Choi
ff01c54720
Remove unnecessary code
2014-03-13 01:04:17 +09:00