mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-03 18:28:38 +00:00
fix(picker.matcher): initialize matcher with pattern from opts. Fixes #596
This commit is contained in:
parent
cb845408db
commit
c434eb89fe
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ function M.new(picker)
|
|||
self.totals = ""
|
||||
self.picker = picker
|
||||
self.filter = require("snacks.picker.core.filter").new(picker)
|
||||
picker.matcher:init({ pattern = self.filter.pattern })
|
||||
self._statuscolumn = self:statuscolumn()
|
||||
|
||||
self.win = Snacks.win(Snacks.win.resolve(picker.opts.win.input, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue