mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
2917ef23b3
- Enable use-plugins test. - Stub out `kakoune-unwrapped` to avoid unnecessary downloads. - Unwrap unnecessary `config` attributes.
25 lines
535 B
Nix
25 lines
535 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
imports = [ ./stubs.nix ];
|
|
|
|
programs.kakoune = {
|
|
enable = true;
|
|
config.showWhitespace = {
|
|
enable = true;
|
|
lineFeed = ''"'';
|
|
space = " ";
|
|
nonBreakingSpace = "' '"; # backwards compat
|
|
tab = "'";
|
|
# tabStop = <default>
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/kak/kakrc
|
|
assertFileContains home-files/.config/kak/kakrc \
|
|
"add-highlighter global/ show-whitespaces -tab \"'\" -spc ' ' -nbsp ' ' -lf '\"'"
|
|
'';
|
|
}
|