From 097c525abbee3bad9b567e4344f301d1ff8bc78a Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 23 May 2023 01:02:00 +1000 Subject: [PATCH] feat: compile with branch to be displayed --- lua/packer/compile.lua | 1 + lua/packer/display.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/lua/packer/compile.lua b/lua/packer/compile.lua index 700ab8038..c0548a7cf 100644 --- a/lua/packer/compile.lua +++ b/lua/packer/compile.lua @@ -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 diff --git a/lua/packer/display.lua b/lua/packer/display.lua index 36a0db215..af648cae8 100644 --- a/lua/packer/display.lua +++ b/lua/packer/display.lua @@ -97,6 +97,7 @@ end local status_keys = { 'path', 'url', + 'branch', 'commands', 'keys', 'module',