mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
vscode: make keybindings submodule freeform
vscode supports overrides per platform key combinations at `mac`, `win` and `linux`
Enables `freeformType = jsonFormat` in the keybindings submodule. This enables support for per-platform bindings and any other arbitrary keybinding attributes.
Code pointer: 83b7ce68a7/src/vs/workbench/services/keybinding/browser/keybindingService.ts (L105-L120)
This commit is contained in:
committed by
Austin Horstman
parent
26e34a99e4
commit
274299642b
@@ -170,6 +170,7 @@ let
|
||||
type = types.either types.path (
|
||||
types.listOf (
|
||||
types.submodule {
|
||||
freeformType = jsonFormat.type;
|
||||
options = {
|
||||
key = mkOption {
|
||||
type = types.str;
|
||||
|
||||
Reference in New Issue
Block a user