fix: lints
All checks were successful
NeoVim tests / plenary-tests (push) Successful in 11s

This commit is contained in:
2025-04-30 15:18:56 -06:00
committed by Jonathan Apodaca
parent 9992d5cd31
commit f48217a7fc
10 changed files with 50 additions and 41 deletions

View File

@@ -231,8 +231,10 @@ function M.create_picker(opts) -- {{{
local formatted_items = s_formatted_items:get()
local filter_text = vim.trim(s_filter_text:get()):lower()
local filter_pattern = ''
local use_plain_pattern = false
--- @type string
local filter_pattern
--- @type boolean
local use_plain_pattern
if #formatted_items > 250 and #filter_text <= 3 then
filter_pattern = filter_text
use_plain_pattern = true