Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include branch in plugin information #1236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lua/packer/compile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ local function make_loaders(_, plugins, output_lua, should_profile)

-- Add the git URL for displaying in PackerStatus and PackerSync. https://github.com/wbthomason/packer.nvim/issues/542
loaders[name].url = plugin.url
loaders[name].branch = plugin.branch

if plugin.ft then
plugin.simple_load = false
Expand Down
1 change: 1 addition & 0 deletions lua/packer/display.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ end
local status_keys = {
'path',
'url',
'branch',
'commands',
'keys',
'module',
Expand Down
Loading