mirror of
https://github.com/nix-community/home-manager
synced 2024-12-20 18:13:30 +00:00
26 lines
555 B
Nix
26 lines
555 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
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 '\"'"
|
||
|
'';
|
||
|
};
|
||
|
}
|