From 62e0a2824a9ed2783fee54f53dd258a2bc3ed795 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 6 Feb 2025 19:56:40 +0900 Subject: Fix nth highlighting Fix #4222 --- src/pattern_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pattern_test.go') diff --git a/src/pattern_test.go b/src/pattern_test.go index 0f0632cd..24b17744 100644 --- a/src/pattern_test.go +++ b/src/pattern_test.go @@ -68,7 +68,7 @@ func buildPattern(fuzzy bool, fuzzyAlgo algo.Algo, extended bool, caseMode Case, withPos bool, cacheable bool, nth []Range, delimiter Delimiter, runes []rune) *Pattern { return BuildPattern(NewChunkCache(), make(map[string]*Pattern), fuzzy, fuzzyAlgo, extended, caseMode, normalize, forward, - withPos, cacheable, nth, delimiter, 0, runes) + withPos, cacheable, nth, delimiter, revision{}, runes) } func TestExact(t *testing.T) { -- cgit v1.2.3