Incorrect indentation with more than one level of "@…["
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
From @jsmaniac on August 26, 2016 23:41
#lang scribble/lp2
@itemlist[
@item{Foo
@itemlist[
@item{Bar}]}]
The file above should likely indent as:
#lang scribble/lp2
@itemlist[
@item{Foo
@itemlist[
@item{Bar}]}]
Another example which does not mix [ and {:
@itemlist[
@item[
"Foo"
@itemlist[
@item["Bar"]]]]
which should indent as:
@itemlist[
@item[
"Foo"
@itemlist[
@item["Bar"]]]]
Copied from original issue: racket/scribble#55
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the two indentation examples from the issue in the relevant Scribble/Racket editor or formatting entry point. Trace how nested @itemlist and @item forms determine indentation, then verify that both examples match the expected spacing.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100