feat: add hidden opt to file_browser (#608)
:Telescope file_browser hidden=true
This commit is contained in:
@@ -206,6 +206,7 @@ files.file_browser = function(opts)
|
|||||||
local data = {}
|
local data = {}
|
||||||
|
|
||||||
scan.scan_dir(path, {
|
scan.scan_dir(path, {
|
||||||
|
hidden = opts.hidden or false,
|
||||||
add_dirs = true,
|
add_dirs = true,
|
||||||
depth = 1,
|
depth = 1,
|
||||||
on_insert = function(entry, typ)
|
on_insert = function(entry, typ)
|
||||||
|
|||||||
Reference in New Issue
Block a user