From 4e5e925e39ead3c04865a1d9595715905ef276d2 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 27 Feb 2025 11:43:58 +0900 Subject: [PATCH] Increase the query length limit from 300 to 1000 Close #4292 --- src/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.go b/src/constants.go index 980e1583..ececdb97 100644 --- a/src/constants.go +++ b/src/constants.go @@ -26,7 +26,7 @@ const ( previewCancelWait = 500 * time.Millisecond previewChunkDelay = 100 * time.Millisecond previewDelayed = 500 * time.Millisecond - maxPatternLength = 300 + maxPatternLength = 1000 maxMulti = math.MaxInt32 // Matcher