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

feat: adds the ability to set a prefix to winbar #1482

Merged
merged 1 commit into from
Aug 15, 2024
Merged

feat: adds the ability to set a prefix to winbar #1482

merged 1 commit into from
Aug 15, 2024

Conversation

adriancmiranda
Copy link
Contributor

This update introduces a new feature that allows users to set a custom prefix for the window bar (winbar).

Key Changes:

New Configuration: A new configuration option has been added to set a prefix that will be displayed before the current content of the winbar.

Flexible Format: The prefix can be a simple string and is consistently applied across all windows where the winbar is active.

Configuration Example:

return {
  ...
  ui = {
    winbar_prefix = ' ',
    ...
  },
  ...
}

Appearance

image

before


image

after

Benefits:

Customization: Provides an easy way to customize the appearance of the winbar according to user preferences.

lua/lspsaga/init.lua Outdated Show resolved Hide resolved
@adriancmiranda adriancmiranda requested a review from glepnir August 15, 2024 11:48
@glepnir glepnir merged commit 1e1d2dd into nvimdev:main Aug 15, 2024
4 checks passed
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 21, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 22, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 22, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 22, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 22, 2024
adriancmiranda added a commit to adriancmiranda/lspsaga.nvim that referenced this pull request Aug 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants