Increase the query length limit from 300 to 1000

Close #4292
This commit is contained in:
Junegunn Choi
2025-02-27 11:43:58 +09:00
parent b7248d4115
commit 4e5e925e39

View File

@@ -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