From 39096492aba5e2fe8a8c0bc11a040a90bb95280b Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Tue, 1 Sep 2020 22:27:50 -0400 Subject: feat/hack: Add builtin.builtin --- lua/telescope/sorters.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lua/telescope/sorters.lua') diff --git a/lua/telescope/sorters.lua b/lua/telescope/sorters.lua index 6074f1b..e2a7639 100644 --- a/lua/telescope/sorters.lua +++ b/lua/telescope/sorters.lua @@ -179,15 +179,13 @@ sorters.get_fuzzy_file = function(opts) tail_modifier = 2 end - -- TODO: Copied from ashkan. local denominator = ( (10 * match_count / #prompt_lower_ngrams) -- biases for shorter strings - -- TODO(ashkan): this can bias towards repeated finds of the same - -- subpattern with overlapping_ngrams + 3 * match_count * ngram_len / #line + consecutive_matches + N / (contains_string or (2 * #line)) + -- + 30/(c1 or 2*N) -- TODO: It might be possible that this too strongly correlates, -- cgit v1.2.3