Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Never nester option #161

Open
moolight-seashell opened this issue Aug 18, 2023 · 2 comments
Open

Never nester option #161

moolight-seashell opened this issue Aug 18, 2023 · 2 comments

Comments

@moolight-seashell
Copy link

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

@oderwat
Copy link
Owner

oderwat commented Aug 18, 2023

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.

@moolight-seashell
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants