barbecue.nvim
barbecue.nvim copied to clipboard
[FEAT]: Match lualine **modified** style; append the modified symbol instead of replacing the filetype icon
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:
PR: #124