nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.47k stars 288 forks source link

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

Closed adriancmiranda closed 2 months ago

adriancmiranda commented 2 months ago

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.