2020-04-16 11:36:21 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2021-11-07 08:42:31 +00:00
|
|
|
imports = [ ./stubs.nix ];
|
|
|
|
|
|
|
|
programs.kakoune = {
|
|
|
|
enable = true;
|
|
|
|
config.showWhitespace = {
|
2020-04-16 11:36:21 +00:00
|
|
|
enable = true;
|
2021-11-07 08:42:31 +00:00
|
|
|
lineFeed = "1";
|
|
|
|
space = "2";
|
|
|
|
nonBreakingSpace = "3";
|
|
|
|
tab = "4";
|
|
|
|
tabStop = "5";
|
2020-04-16 11:36:21 +00:00
|
|
|
};
|
|
|
|
};
|
2021-11-07 08:42:31 +00:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/kak/kakrc
|
|
|
|
assertFileContains home-files/.config/kak/kakrc \
|
|
|
|
"add-highlighter global/ show-whitespaces -tab '4' -tabpad '5' -spc '2' -nbsp '3' -lf '1'"
|
|
|
|
'';
|
2020-04-16 11:36:21 +00:00
|
|
|
}
|