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
This commit is contained in:
justin-f-perez 2022-04-09 18:38:19 -05:00 committed by siduck
parent 4a888ad037
commit cbc813388d
1 changed files with 1 additions and 0 deletions

View File

@ -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"),