-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
list match: fix indentation on nested lists
Nested lists use some special rules to allow for inserting another list after a newline. Unfortunately, do to the current text rule, the space(s) before the nested list can be added to the text rule from the first line, rather than the start of the nested list. This makes further nested items look double-nested, when they are not. For 1.0, we should consider changing the text rule to break on newlines, or change how lookbehinds work (let them "move" text from previous captures?). Fixes #48
- Loading branch information
1 parent
cb2dca0
commit 3e926f5
Showing
4 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.