diff options
| author | mroavi <mroavi@gmail.com> | 2021-11-20 14:46:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-20 14:46:16 +0100 |
| commit | af5a5803109a3842ec12a3fcea3453292e863544 (patch) | |
| tree | 54935da8bdfb1c1a0546f015ff4f1005cbe0f2f3 /developers.md | |
| parent | 7493f51700c442db5b7f44b3c1b92d09148773a5 (diff) | |
docs: fix attempt to index nil `opts` in example (#1476)
Diffstat (limited to 'developers.md')
| -rw-r--r-- | developers.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/developers.md b/developers.md index d027f66..3d3d0b2 100644 --- a/developers.md +++ b/developers.md @@ -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 { |
