aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 10:46:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 10:46:15 +0200
commit6fa527d646b7b68e2798cf21fdcb4f6b0a7b0846 (patch)
tree02677a992b93c5e0c8eeccf02d691304a1cb653e
parentfix(modules/home/nvim/plgs/nvim/neorg): Use stable version (diff)
downloadnixos-config-6fa527d646b7b68e2798cf21fdcb4f6b0a7b0846.zip
fix(modules/home/less/lesskey): Fix less not using values from lesskey file
less ignores the lesskey file if it contains the `#stop` directive. This is extremely weird, but one valid fix is just removing the `#stop` directive.
-rw-r--r--modules/home/conf/less/command.less3
-rw-r--r--modules/home/conf/less/default.nix1
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/home/conf/less/command.less b/modules/home/conf/less/command.less
index 5365686b..95b79b02 100644
--- a/modules/home/conf/less/command.less
+++ b/modules/home/conf/less/command.less
@@ -123,4 +123,5 @@ Q quit
ZZ quit
# Stop processing (and ignore less' default values)
-#stop
+# (// FIXME: This stopped working and thus we just comment it out <2024-08-03> )
+# stop
diff --git a/modules/home/conf/less/default.nix b/modules/home/conf/less/default.nix
index f4103080..9991ebef 100644
--- a/modules/home/conf/less/default.nix
+++ b/modules/home/conf/less/default.nix
@@ -7,6 +7,7 @@
LESSHISTSIZE = 10000;
LESSHISTFILE = "${config.xdg.dataHome}/less/history";
};
+
programs.less = {
enable = true;
keys =