freddiehaddad / feline.nvim

A minimal, stylish and customizable statusline, statuscolumn, and winbar for Neovim
GNU General Public License v3.0
289 stars 8 forks source link

Hi @freddiehaddad! The commit 1dcf6bf0b7fcaf2a2cddec377266eb2e6a41492e broke my custom git component that looks like this: #61

Closed freddiehaddad closed 9 months ago

freddiehaddad commented 9 months ago
          Hi @freddiehaddad! The commit 1dcf6bf0b7fcaf2a2cddec377266eb2e6a41492e broke my custom git component that looks like this:
{
  provider = 'git_branch',
  icon = {
    str = '  ', -- Custom git icon
    hl = { fg = '#f34f29' },
  },
}

The default icon is now used instead of the custom one, and the custom highlight is no longer applied.

Is this expected behaviour?

Originally posted by @mawkler in https://github.com/freddiehaddad/feline.nvim/issues/49#issuecomment-1828180818

freddiehaddad commented 9 months ago

@mawkler Can you check if the fix_icon branch corrects this issue?

I think its fixed.

git_branch = {
    provider = 'git_branch',
    hl = { fg = '#00ff00' },
    icon = {
        str = ' G ',
        hl = { fg = '#ff0000' },
    },
},

scrn-2023-11-27-12-39-10

freddiehaddad commented 9 months ago

@mawkler see (#58)

mawkler commented 9 months ago

@freddiehaddad Yes, that solved the issue! Thank you!