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

Add highlight for the pin icon #539

Closed
otavioschwanck opened this issue Dec 1, 2023 · 4 comments · Fixed by #543
Closed

Add highlight for the pin icon #539

otavioschwanck opened this issue Dec 1, 2023 · 4 comments · Fixed by #543
Assignees
Labels
request New feature or request
Milestone

Comments

@otavioschwanck
Copy link
Contributor

image

would be nice a way to change the color of pin (to increase visibility)

@Iron-E Iron-E added the request New feature or request label Dec 18, 2023
@Iron-E
Copy link
Collaborator

Iron-E commented Jan 12, 2024

Seems like if we're adding highlights for the pin button, it would be good to add highlights for the other buttons too. I'll look into this.

@Iron-E
Copy link
Collaborator

Iron-E commented Jan 13, 2024

@otavioschwanck give #543 a try

@xuhui-github
Copy link

i like this but my nvim does not show the pinned icon

@Iron-E
Copy link
Collaborator

Iron-E commented Feb 22, 2024

i like this but my nvim does not show the pinned icon

By default they are not shown. This should do it:

require'barbar'.setup {
  icons = {
    pinned = {
      button = '<your icon>', 
      filename = true,
    },
  },
}

:h barbar-setup.icons.pinned has more info

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

Successfully merging a pull request may close this issue.

3 participants