Closed imsnif closed 4 weeks ago
This change is already a part of kdl v2! So closing as resolved :) You only need ;
to delimit between nodes on the same line now. See https://github.com/kdl-org/kdl/pull/286/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR46-R48
Jubilation!
Hey - my apologies if this has been discussed before, I could not find it when searching the issues - but it could also be that I lack the correct terminology.
In the Zellij configuration, we have lots of examples like these:
A point of confusing that happens often is forgetting the semicolon to close the node right before the curly braces and thus encountering a parsing error when doing this:
I feel that since the closing braces are on the same line, maybe it should be possible to make the semicolons optional in this case? Not sure if there are other considerations here that make this problematic (or if v2 solves this in some different way?) but thought I'd put this out there.