From cbc813388d15ae71aaf531b7e044f0f9c7105e17 Mon Sep 17 00:00:00 2001 From: justin-f-perez Date: Sat, 9 Apr 2022 18:38:19 -0500 Subject: [PATCH] override default branch for bufferline By default packer tries to use "master" for the branch of any plugin that doesn't have a branch explicitly defined. However, the bufferline authors recently renamed their default branch from "master" to main. Thus, packer will work fine with bufferline for any new clones, but it will fail to update for anyone who had the old branch name "master" set. See also: https://github.com/wbthomason/packer.nvim/issues/86 --- lua/plugins/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 25e7989..1e15ef7 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -47,6 +47,7 @@ local plugins = { { "akinsho/bufferline.nvim", + branch = "main", disable = not plugin_settings.status.bufferline, after = "nvim-web-devicons", config = override_req("bufferline", "plugins.configs.bufferline", "setup"),