1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02:00

vscode: allow argument for keybind to any json value (#2418)

This commit is contained in:
Nicolas Berbiche 2021-10-28 00:13:54 -04:00 committed by GitHub
parent 9282dbc1fa
commit 158bc59398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ in {
# https://code.visualstudio.com/docs/getstarted/keybindings#_command-arguments
args = mkOption {
type = types.nullOr (types.attrs);
type = types.nullOr (jsonFormat.type);
default = null;
example = { direction = "up"; };
description = "Optional arguments for a command.";