feat(explorer): added Snacks.explorer.reveal() to reveal the current file in the tree.

This commit is contained in:
Folke Lemaitre 2025-02-09 17:26:15 +01:00
parent 9d2fd24340
commit b4cf6bb48d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 24 additions and 0 deletions

View file

@ -103,6 +103,7 @@ local M = {}
---@field jump? snacks.picker.jump.Config|{}
--- Other
---@field config? fun(opts:snacks.picker.Config):snacks.picker.Config? custom config function
---@field db? snacks.picker.db.Config|{}
---@field debug? snacks.picker.debug|{}
local defaults = {
prompt = "",
@ -392,6 +393,7 @@ local defaults = {
Variable = "󰀫 ",
},
},
---@class snacks.picker.db.Config
db = {
-- path to the sqlite3 library
-- If not set, it will try to load the library by name.