2020-04-16 13:36:21 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.kakoune = {
|
|
|
|
enable = true;
|
|
|
|
config.showWhitespace = {
|
|
|
|
enable = true;
|
|
|
|
lineFeed = "1";
|
|
|
|
space = "2";
|
|
|
|
nonBreakingSpace = "3";
|
|
|
|
tab = "4";
|
|
|
|
tabStop = "5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-24 19:01:21 +02:00
|
|
|
nmt.script = ''
|
2020-04-16 13:36:21 +02:00
|
|
|
assertFileExists home-files/.config/kak/kakrc
|
2020-06-24 19:01:21 +02:00
|
|
|
assertFileContains home-files/.config/kak/kakrc \
|
2020-06-24 19:30:16 +02:00
|
|
|
"add-highlighter global/ show-whitespaces -tab '4' -tabpad '5' -spc '2' -nbsp '3' -lf '1'"
|
2020-04-16 13:36:21 +02:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|