You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xkb {
// You can set rules, model, layout, variant and options.
// For more information, see xkeyboard-config(7).
// For example:
// layout "us,ru"
layout "de"
variant "nodeadkeys"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
}
Applying parse followed by fmt followed by to_string yields this broken snippet:
xkb {
// You can set rules, model, layout, variant and options.
// For more information, see xkeyboard-config(7).
// For example:
// layout "us,ru"
layout "de"
variant "nodeadkeys"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"}
Note how the bracket got pulled into the comment line. (Also, a horizontal line got deleted and an indentation is wrong.)
The text was updated successfully, but these errors were encountered:
Consider the following kdl snippet:
Applying
parse
followed byfmt
followed byto_string
yields this broken snippet:Note how the bracket got pulled into the comment line. (Also, a horizontal line got deleted and an indentation is wrong.)
The text was updated successfully, but these errors were encountered: