Instead of
{
"editor.fontLigatures" = true;
"editor.inlayHints.enabled" = "offUnlessPressed";
"editor.inlayHints.fontSize" = 12;
}
I want to be able to write
{
editor = {
fontLigatures = true;
inlayHints = {
enabled = "offUnlessPressed";
fontSize = 12;
};
};
}
But VSCode doesn't want to support it, so I wrote a helper function (using some lib functions which have yet to make it into nixpkgs):
NOTE: some settings might need to stay nested, so I make two sections in my settings config: