treewide: replace attrs by formats or types.anything
This commit is contained in:
parent
c1faa848c5
commit
44f9d68d8c
20 changed files with 134 additions and 64 deletions
|
|
@ -27,7 +27,25 @@ let
|
|||
else
|
||||
".config/Code/User/keybindings.json";
|
||||
|
||||
expectedJson = pkgs.writeText "expected.json" (builtins.toJSON bindings);
|
||||
expectedJson = pkgs.writeText "expected.json" ''
|
||||
[
|
||||
{
|
||||
"command": "editor.action.clipboardCopyAction",
|
||||
"key": "ctrl+c",
|
||||
"when": "textInputFocus && false"
|
||||
},
|
||||
{
|
||||
"command": "deleteFile",
|
||||
"key": "ctrl+c",
|
||||
"when": ""
|
||||
},
|
||||
{
|
||||
"command": "deleteFile",
|
||||
"key": "d",
|
||||
"when": "explorerViewletVisible"
|
||||
}
|
||||
]
|
||||
'';
|
||||
in {
|
||||
config = {
|
||||
programs.vscode = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue