Hey,
I’m trying to generate the following config for yazi:
[[manager.prepend_keymap]]
on = [ "<C-n>" ]
run = '''
shell 'dragon -x -i -T "$1"' --confirm
'''
Unfortunately the following nix code:
keymap = {
manager.prepend_keymap = [
{
run = ''shell 'dragon -x -i -T "$1"' --confirm"'';
on = ["<C-d>"];
}
];
};
generates:
[[manager.prepend_keymap]]
on = ["<C-d>"]
run = "shell 'dragon -x -i -T \"$1\"' --confirm\"\n"
How could I make sure that the toml generate
function from nix let me use the '''
notation instead of defaulting to double quotes?