Comments (6)
Just in case someone still comes across this issue. This now seems to be resolved , there is an commit
option along with branch and tag as described in https://github.com/junegunn/vim-plug#plug-options
Below is an example on how checkout a specific commit (SHA) only :
Plug 'kassio/neoterm', { 'commit': '6389a24c42572020e0978600e632fd90094fe642' }
from vim-plug.
README.md says that
Freezing plugin version with commit hash
vim-plug does not allow you to freeze the version of a plugin with its commit hash. This is by design. I don't believe a user of a plugin should be looking at its individual commits. Instead, one should be choosing the right version using release tags or versioned branches (e.g. 1.2.3, stable, devel, etc.)
Plug 'junegunn/vim-easy-align', '2.9.2'
If the repository doesn't come with such tags or branches, you should think of it as "unstable" or "in development", and always use its latest revision.
If you really must choose a certain untagged revision, consider forking the repository.
from vim-plug.
Thanks @opennota. Yes, I'm still skeptical about supporting it. I've never once needed to do so, although I don't use too many plugins. But I'm open to suggestions and discussions. If you need the feature now, you can always go for NeoBundle :)
from vim-plug.
Hi @junegunn, I'm comming right from NeoBundle :) and find your manager doing exactly what I want without any further features. The following sentence:
If the repository doesn't come with such tags or branches, you should think of it as "unstable" or "in > development", and always use its latest revision.
stick in my head and it is right, if the latest master state of a project isn't stable, you should fork it. So updating the README and/or creating a vim-plug.txt documentation file would clear things up. Don't know if I can help you with this?
from vim-plug.
@wikimatze Thanks, glad to hear that you agree with the idea. Currently vim-plug is distributed as a single vim file (https://raw.github.com/junegunn/vim-plug/master/plug.vim) to put in autoload directory. So although having vim-plug.txt would be nice, it will add another step to the installation process, and I'm not sure if it's really worth it. If you think the README page needs further clarification, let me know. I want to keep the page as short as possible.
from vim-plug.
(Sorry for the bump, ignore. This is just to help future readers. But imo this ticket should be closed with wontfix label or similar.)
There is however the :PlugSnapshot
command documented in the README, for those who haven't read it fully and came here first, like me.
from vim-plug.
Related Issues (20)
- Vin Plug installation problem in windows OS
- Manage the configs for each vim-plugged plugin in a separate file.
- On demand loading with user defined commands? HOT 2
- error message on opening .vimrc HOT 1
- Installation fails(?) on neovim 0.9.5 on Macos HOT 3
- Improve for https://github.com/junegunn/vim-plug/wiki/tips#automatic-installation-of-missing-plugins HOT 1
- Running multiple commands in after update hook HOT 2
- Add a command to return vim-plug version HOT 1
- Make automatic installation script in wiki tips compatible with Neovim HOT 8
- I think vim-plug is a very excellent Vim plug-in management tool.The codigger project has many plug-ins that extend Vim.
- Mistyping a plugin name gives a cryptic error HOT 2
- plug.vim and init.lua loading issue? HOT 1
- fugitive compatibility for viewing commits in PlugDiff HOT 2
- Allow pull with --force HOT 5
- E492 Not and Editor command on Windows HOT 2
- Failed to compare with the origin when PlugClean. HOT 7
- How do I use VIM-PLUG? Where do I put it? (I'm on Windows 10 and my main VIM folder is at C:/Program Files/Vim and I use Ubuntu to use Linux on Windows Terminal) HOT 2
- g:plug_timeout is not respected for SSL connection timeout HOT 6
- You should follow the instructions in https://github.com/junegunn/vim-plug?tab=readme-ov-file#installation
- My plugin don't work until I run PlugUpdate or PlugInstall. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-plug.