barbecue.nvim icon indicating copy to clipboard operation
barbecue.nvim copied to clipboard

[FEAT]: Match lualine **modified** style; append the modified symbol instead of replacing the filetype icon

Open flashios09 opened this issue 1 year ago • 1 comments

Requirements

  • [X] This feature isn't just a vague idea and can have a good practical solution.
  • [X] I'm completely sure that this feature fits into this plugin.
  • [X] I'm willing to implement this through a PR.

Problem

The current behavior of show_modified will replace the filetype icon :

<icon_or_modified?> <text>

Solution Suggestion

Match the lualine style: keep both the filetype and the modified symbol when show_modified is true:

<icon?> <text> <modified?>

Workaround

Updating the ui/components.lua and the ui/entry.lua, now it displays both the icon and the modified symbol: image

flashios09 avatar Oct 18 '24 23:10 flashios09

PR: #124

flashios09 avatar Oct 19 '24 22:10 flashios09