Skip to content

Need help understanding indentation? #818

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

Open
patrick-nicodemus opened this issue Mar 31, 2025 · 0 comments
Open

Need help understanding indentation? #818

patrick-nicodemus opened this issue Mar 31, 2025 · 0 comments

Comments

@patrick-nicodemus
Copy link

I have used this software for a while but I have always struggled getting it to indent as I expect, and I was wondering if you could please help me to understand the mechanics here and help me to resolve this.

Image

When I hit enter at the end of the last line of the gray region, the cursor is placed at the 27th character, which is below the first space character in (bicat_assoc f g h). The fact that the whole gray region is contiguously colored seems to be a bug because it suggests some grammatical continuity which is not present.

I run into these kinds of indentation errors all the time but I'm not sure how to reproduce it or isolate it. I usually just fiddle around with it and add newlines and try to get it to reset the state until it works, possibly deleting the whole code block to reset the state. Can you help me understand why this happens and how to debug it and isolate the error?

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

1 participant