comfysage / evergarden

:rose: a comfy neovim colorscheme for cozy morning coding.
MIT License
122 stars 4 forks source link

fix: overrides won't apply #4

Closed rickliujh closed 4 months ago

rickliujh commented 5 months ago

The overrides part of documentation is not reflating what implementation was done.

I think the way to overrides described in the documentation is more preferred for people, so I implement the set_hi in other way to support wider range of cases for overrides

All of below are supported:

      overrides = {
        CursorLineNr = { '#88c096' },
        LineNrAbove = { { '#77827c', 8 } },
        LineNrBelow = { fg = '#77827c' },
      },

priority colors[str] > colors[num][num] > colors[num]

      overrides = {
        LineNrAbove = { { '#77827c', 8 } , fg = '#77827c' }, -- fg applies
        LineNrBelow = { '#88c096', fg = '#77827c' }, -- fg applies
      },

Thank you for your effort and your the beautiful neovim theme.

rickliujh commented 4 months ago

I just read your recent commits I think the problem is already being properly solved. So I'm going to close this pr.