shellRaining / hlchunk.nvim

This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
MIT License
628 stars 31 forks source link

fix: chunk `error_sign` not taken into account #108

Closed soifou closed 3 months ago

shellRaining commented 3 months ago

great! But maybe I should rethink whether this field is useful.

soifou commented 3 months ago

I think it's completely redundant with the secondary color style :) Maybe the logic could be adapted to check whether a secondary color is set then that would mean the user want this style for errors, else fallback to the first one. Less config, less confusion. My fix was simply here to be aligned with the current settings.

shellRaining commented 3 months ago

I wanted to create a gradient effect before, but I wasn't very good at calculating the interpolation between colors, so I put it aside for now, which resulted in the style field not being fully utilized.