From 5a7cdacf467f2bfad1afb0ea45b5f1755d91af8b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 25 May 2020 18:59:12 +0200 Subject: [PATCH] startup: allow presetting case-sensitive search also in the tiny version If nanorc-file support is re-enabled (--enable-tiny --enable-nanorc), then it ought to be possible to set case sensitivity at startup. --- src/rcfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcfile.c b/src/rcfile.c index 9a2a276e..ff752488 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -46,6 +46,7 @@ static const rcoption rcopts[] = { #ifdef ENABLE_WRAPPING {"breaklonglines", BREAK_LONG_LINES}, #endif + {"casesensitive", CASE_SENSITIVE}, {"constantshow", CONSTANT_SHOW}, {"emptyline", EMPTY_LINE}, #ifdef ENABLED_WRAPORJUSTIFY @@ -102,7 +103,6 @@ static const rcoption rcopts[] = { {"autoindent", AUTOINDENT}, {"backup", MAKE_BACKUP}, {"backupdir", 0}, - {"casesensitive", CASE_SENSITIVE}, {"cutfromcursor", CUT_FROM_CURSOR}, {"guidestripe", 0}, {"locking", LOCKING},