Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Junegunn Choi d16273e072 Code cleanup 2020-09-08 22:39:56 +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
Junegunn Choi 01aab60ade Fix PowerShell instruction for Neovim
Close #976
2020-06-08 23:48:55 +09: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
Junegunn Choi 46f843aafe Add collaborators section 2019-09-03 10:52:29 +09: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
Junegunn ChoiandGitHub 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 ChoiandGitHub 7f8fdd0444 Ignore useless use of on-demand loading (#786) 2018-09-12 13:40:33 +09:00
Junegunn ChoiandGitHub 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
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
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
Junegunn ChoiandGitHub b93975f794 Fix Travis CI build (dist: trusty) (#670) 2017-09-10 03:38:38 +09:00
Junegunn ChoiandGitHub 88cc9d7868 Create LICENSE 2017-07-10 13:21:14 +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 ChoiandGitHub 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
Junegunn Choi 46ae29985d Proper escaping of tag patterns
Close #610
2017-04-04 17:45:37 +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
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
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
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 ChoiandGitHub ca0b726f46 Merge pull request #558 from HiPhish/nospell
Do not check spelling in vim-plug buffers
2016-12-04 01:03:05 +09: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 ChoiandGitHub 54683aa2c7 Merge pull request #552 from midchildan/fix-git-version
Fix git version detection
2016-11-04 00:38:09 +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 ChoiandGitHub 2fa2761b99 Merge pull request #545 from srstevenson/set-nolist
Set nolist in vim-plug buffers
2016-10-27 12:48:26 +09: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 ChoiandGitHub 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
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 ChoiandGitHub 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 ChoiandGitHub 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 ChoiandGitHub 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
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 ChoiandGitHub b44ea685aa Merge pull request #508 from mhinz/silence-deletions
Silence :delete commands
2016-08-01 09:52:29 +09: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
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