mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 10:47:02 +00:00
Adds the 'programs.lapce' module for configuring lapce text editor. Options for settings, plugins and keymaps are available.
18 lines
345 B
Nix
18 lines
345 B
Nix
{ 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}
|
|
'';
|
|
}
|