Open moolight-seashell opened 1 year ago
What is the use case? I don't need that. Sounds like something a linter should do. Indent-Rainbow is not a linter. The "error functionality" is considered an error by myself.
my idea is to not enable it by default
the principle is to be able to show over-indentation imediatly without the imperatives and restrictions that a linter would propose,
basically such a system would be just indicative and it would allow you to see over-indentation on the fly and sonner than with a linter or without failing a whole cicd pipline.
Afterwards it is obviously quite far from the main features of indent-rainbow but it would seem to me to be a very good way to do it
add in the options the possibility of defining a "max" indent number above which a specific color (setting) is used.
like the red color used when the indent is not matching 2 or 4 space indent