mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
feat(picker): reworked toggles (flags). they're now configurable. Closes #770
This commit is contained in:
parent
847509e12c
commit
e16a6a4413
7 changed files with 53 additions and 37 deletions
|
@ -16,6 +16,7 @@ M.autocmds = {
|
|||
---@field unloaded? boolean show loaded buffers
|
||||
---@field current? boolean show current buffer
|
||||
---@field nofile? boolean show `buftype=nofile` buffers
|
||||
---@field modified? boolean show only modified buffers
|
||||
---@field sort_lastused? boolean sort by last used
|
||||
---@field filter? snacks.picker.filter.Config
|
||||
M.buffers = {
|
||||
|
@ -232,6 +233,7 @@ M.git_diff = {
|
|||
---@field rtp? boolean search in runtimepath
|
||||
M.grep = {
|
||||
finder = "grep",
|
||||
regex = true,
|
||||
format = "file",
|
||||
live = true, -- live grep by default
|
||||
supports_live = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue