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

Wrong breadcrumb for inactive window #2

Open
sytranvn opened this issue Mar 14, 2024 · 2 comments
Open

Wrong breadcrumb for inactive window #2

sytranvn opened this issue Mar 14, 2024 · 2 comments

Comments

@sytranvn
Copy link

Hi, I am using this configuration, but opening different files show same breadcrumb for every files.

local breadcrumb = function()
	local breadcrumb_status_ok, breadcrumb = pcall(require, "breadcrumb")
	if not breadcrumb_status_ok then
		return
	end
	return breadcrumb.get_breadcrumb()
end

local config = {
	winbar = {
		lualine_a = {},
		lualine_b = {},
		lualine_c = { breadcrumb },
		lualine_x = {},
		lualine_y = {},
		lualine_z = {},
	},
	inactive_winbar = {
		lualine_a = {},
		lualine_b = {},
		lualine_c = { breadcrumb },
		lualine_x = {},
		lualine_y = {},
		lualine_z = {},
	},
}

lualine.setup(config)

Screenshot 2024-03-14 at 09 57 55

@loctvl842
Copy link
Owner

Sorry, I forgot to deprecate this repository, please use other better plugins such as barbecue or dropbar. This repository is no longer maintain. I just try to test out SmitshP's plugin.

@loctvl842 loctvl842 reopened this Mar 14, 2024
@sytranvn
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants