1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 02:36:54 +00:00
home-manager/tests/modules/programs/lapce/example-keymaps.nix

19 lines
345 B
Nix
Raw Normal View History

{ config, ... }:
{
programs.lapce = {
enable = true;
package = config.lib.test.mkStubPackage { };
keymaps = [{
command = "open_log_file";
key = "Ctrl+Shift+L";
}];
};
nmt.script = ''
assertFileContent \
home-files/.config/lapce-stable/keymaps.toml \
${./example-keymaps-expected.toml}
'';
}