mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 12:03:25 +00:00
96e2f1bdf0
The kakoune editor has a plugin mechanism and several plugins are already packaged under `pkgs.kakounePlugins`. However, adding these packages to `home.packages` is not enough: the `kakoune` package needs to be configured with the list of plugins to include, so that they get sourced on start-up. We add a `programs.kakoune.plugins` option, analogous to `programs.vim.plugins`. The change is backwards compatible since `pkgs.kakoune` is defined as wrapKakoune kakoune-unwrapped { }; and `wrapKakoune` defaults the list of plugins to empty. PR #1356
7 lines
248 B
Nix
7 lines
248 B
Nix
{
|
|
kakoune-no-plugins = ./no-plugins.nix;
|
|
kakoune-use-plugins = ./use-plugins.nix;
|
|
kakoune-whitespace-highlighter = ./whitespace-highlighter.nix;
|
|
kakoune-whitespace-highlighter-corner-cases =
|
|
./whitespace-highlighter-corner-cases.nix;
|
|
}
|