fix(file_selector): make sure to flatten selected_paths if picker yields a single string (#1153)
This commit is contained in:
@@ -252,6 +252,8 @@ M._defaults = {
|
||||
provider = "native",
|
||||
-- Options override for custom providers
|
||||
provider_opts = {},
|
||||
--- @type fun(selected_paths: string[] | string | nil): nil
|
||||
handler = nil,
|
||||
},
|
||||
suggestion = {
|
||||
debounce = 600,
|
||||
|
||||
Reference in New Issue
Block a user