rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.
MIT License
1.4k stars 46 forks source link

Unreliable Lushify behaviour #106

Open rktjmp opened 1 year ago

rktjmp commented 1 year ago

Upstream bug, related to #94?

Dump current theme via :LushImport, note LineNr color.

image

Uncomment "fix group" (which is just a normal group set via nvim_cmd instead of the nvim highlight api), note LineNR is now dim (and correct).

image

Uncomment fix group and the issue re-appears

image

Change red to blue and the LineNr returns to the correct color, note the fg remains red as it's hard-coded into lush.apply, so the alteration in lushify, correctly, doesn't hold.

image

rktjmp commented 1 year ago

Dropping nvim_set_hl_x_hi_clear_bugfix from dump "fixes" the issue. Some kind of cache thing?