docs: fix attempt to index nil opts in example (#1476)
This commit is contained in:
@@ -57,6 +57,7 @@ you will still need to have the previous requires section above this code.)
|
||||
```lua
|
||||
-- our picker function: colors
|
||||
local colors = function(opts)
|
||||
opts = opts or {}
|
||||
pickers.new(opts, {
|
||||
prompt_title = "colors",
|
||||
finder = finders.new_table {
|
||||
|
||||
Reference in New Issue
Block a user