From 990f7f0ce1e1e07b9dc04f245b6ec73ab8a84969 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 10 Jun 2024 16:03:45 +0200 Subject: [PATCH] pager: propoerly fallback to less --- cppman/lib/pager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cppman/lib/pager.sh b/cppman/lib/pager.sh index e9dfb8a..2805f0e 100755 --- a/cppman/lib/pager.sh +++ b/cppman/lib/pager.sh @@ -71,7 +71,7 @@ if [ "$pager_type" = "nvim" ]; then fi if [ "$pager_type" = "vim" ]; then if ! which vim >/dev/null 2>&1; then - if ! which nvim >/dev/null 2>&1; then + if which nvim >/dev/null 2>&1; then pager_type=nvim else pager_type=less