-
Notifications
You must be signed in to change notification settings - Fork 8
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
Indentation Not Working #45
Comments
Thanks for raising this @dstrr. I don't think there's any specific indentation policies set yet, so I think you're right, this can be a feature request that can be added in. |
I'm willing to take on that, if I get any idea of how indentation works. Is there a simple mode that does it, which I can look at for inspiration? |
Hey Mois. Sorry for the delay in a response here. https://github.com/abrochard/mermaid-mode/blob/master/mermaid-mode.el#L133 is a good starting point and I would certainly welcome the contribution! Thank you and I look forward to the PR! |
Ooh that's nice. Moving point and then searching backwards, I hadn't thought of that. |
Hello,
I've just installed and tried making use of
d2-mode
but indentation isn't working. If I type out the exampleindentation behaves the same as in fundamental mode. I have to manually tab the
shape: class
line, and then I have to manually de-indent the curly brace. I've installed both from melpa and tried a git clone, but I get the same behavior.Are there limits on the indentation?
The text was updated successfully, but these errors were encountered: