2020-06-24 19:30:16 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2021-11-07 09:42:31 +01:00
|
|
|
imports = [ ./stubs.nix ];
|
|
|
|
|
|
|
|
programs.kakoune = {
|
|
|
|
enable = true;
|
|
|
|
config.showWhitespace = {
|
2020-06-24 19:30:16 +02:00
|
|
|
enable = true;
|
2021-11-07 09:42:31 +01:00
|
|
|
lineFeed = ''"'';
|
|
|
|
space = " ";
|
|
|
|
nonBreakingSpace = "' '"; # backwards compat
|
|
|
|
tab = "'";
|
|
|
|
# tabStop = <default>
|
2020-06-24 19:30:16 +02:00
|
|
|
};
|
|
|
|
};
|
2021-11-07 09:42:31 +01:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/kak/kakrc
|
|
|
|
assertFileContains home-files/.config/kak/kakrc \
|
|
|
|
"add-highlighter global/ show-whitespaces -tab \"'\" -spc ' ' -nbsp ' ' -lf '\"'"
|
|
|
|
'';
|
2020-06-24 19:30:16 +02:00
|
|
|
}
|