utilyre / barbecue.nvim

Visual Studio Code inspired breadcrumbs plugin for the Neovim editor
MIT License
808 stars 35 forks source link

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

Open flashios09 opened 2 weeks ago

flashios09 commented 2 weeks ago

Requirements

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 commented 2 weeks ago

PR: #124