mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 08:31:03 +01:00
retext: add module
This commit is contained in:
parent
bf7056c6a2
commit
b5698ed57d
5 changed files with 100 additions and 0 deletions
25
tests/modules/programs/retext/example-config.nix
Normal file
25
tests/modules/programs/retext/example-config.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
programs.retext = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
documentStatsEnabled = true;
|
||||
lineNumbersEnabled = true;
|
||||
relativeLineNumbers = true;
|
||||
useWebEngine = true;
|
||||
};
|
||||
|
||||
ColorScheme = {
|
||||
htmlTags = "green";
|
||||
htmlSymbols = "#ff8800";
|
||||
htmlComments = "#abc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists "home-files/.config/ReText Project/ReText.conf"
|
||||
assertFileContent "home-files/.config/ReText Project/ReText.conf" \
|
||||
${./ReText.conf}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue