-
-
Notifications
You must be signed in to change notification settings - Fork 22
Specify indent
#16
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
Comments
No longer needed: remark no longer includes ’em |
for those implementing their own ast, can this be revisited? or can the |
Hm I think it should be removed from the spec instead now that it isn’t used anymore.
So say something spans 3 lines, then Problem was, that it should probably be points instead of columns. And why only starts of lines and not ends? 🤷♂️ |
This isn’t used anywhere anymore. If someone else wants it, it’s better to put into `data`. Related-to: GH-16.
node.position.indent
isn’t used a lot, but it could be specced better.Currently, it’s a list of integers, if a node spans multiple lines, where each value refers to the column a line (
node.position.start.line + index
).This only supports the start of a line (which is useful in markdown). But not the end of a line.
It’s also awkward to access, as there’s no explicit line access.
It could make sense for
indent
to be anArray.<{start: Point, end: Point}>
.The text was updated successfully, but these errors were encountered: