-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Replace yaml with KDL #771
Comments
Whoa, in my email notifications I didn't see that you'd been the one to open this issue, @imsnif ! In short, I vastly, vastly prefer KDL to YAML and would be fully on board with changing to it. The serde support is a bit of a prerequisite, obviously, but once that's in place, I'm pretty happy never looking back <3 |
My 2cents, feel free to ignore:
This way:
Also note that in |
I strongly agree with @tailhook 's flipping of the key and action nesting. I think it's much nicer and more natural to have I'm also likely playing with KDL for another project soon, so I'll see how much of a pain-point no serde really is! |
Hello, this is now implemented in zellij 0.32.0 and up. Enjoy your new configs! |
If i'm allowed to put on my product-manager hat for a bit: Can someone bring more context as to why this change was introduced? What was the issue with YAML? Why would you not use a more established configuration language that has existed for longer? I've never heard of KDL, looking into it it doesn't look very mature or established. No syntax highlighting support for vim, to name one example. |
You can find out more about the reasoning here:
https://zellij.dev/news/config-command-layouts/#addendum-why-did-we-choose-kdl
And the vim syntax highlighting here: https://github.com/imsnif/kdl.vim
…On Sun, Oct 30, 2022, 12:46 AM Erik Lilja ***@***.***> wrote:
If i'm allowed to put on my product-manager hat for a bit:
Can someone bring more context as to why this change was introduced? What
was the issue with YAML? Why would you not use a more established
configuration language that has existed for longer?
I've never heard of KDL, looking into it it doesn't look very mature or
established. No syntax highlighting support for vim, to name one example.
Is YAML support expected to be removed in a future release?
—
Reply to this email directly, view it on GitHub
<#771 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGCHTUUIDWTUMWU5FYVZWTWFWSL5ANCNFSM5FRZS5EA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
KDL is a new document language that supports nesting, custom type annotations and more. It is Human-readable, easy to pick up and is actively maintained through a living specification.
A Zellij layout KDL configuration might look something like this:
A Zellij configuration might look something like this:
The only blocker I see right now is that there is no Serde support, but it looks like it's in the works: kdl-org/kdl-rs#17
Would love to hear thoughts on this. Pinging some people of interest (though I'd love to hear anyone's take on this!) @a-kenji , @TheLostLambda, @spacemaison
The text was updated successfully, but these errors were encountered: