inkle / inkle/ink

syntax grammar problem: fallback choices break formatting for the next line

Open
#401 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

Using a (slightly modified, but not in anything that should affect this) syntax grammar that's included in this repo in Atom:
```
* choice group A[]
this is choice group A!
* * choice 1[] choice outcome
* * choice 2[] choice outcome
* * -> another_stitch
* choice group B[] <-- the formatting here breaks, choice bullets do not get parsed
// etc.
```

am i going crazy? formatting the fallback choice like this fixes the issue:

```
* * []
-> another_stitch
```

Including a blank line after the fallback choice fixes the issue also.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.