diff options
| author | tamago324 <tamago_pad@yahoo.co.jp> | 2020-12-03 13:54:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 23:54:09 -0500 |
| commit | f2b483edc54ff1892d52d90177e7fb89e9a10535 (patch) | |
| tree | ddb7d0284030883b41a0557e32feebba85184c9a /lua | |
| parent | 2fd09b9293dcb225b12a25f10578ac51672fe428 (diff) | |
Fix to pass opts to pickers (#301)
builtins were not passing `opts` correctly, but now do.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index 73db64d..c66c6de 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -88,7 +88,7 @@ internal.planets = function(opts) end internal.commands = function(opts) - pickers.new({}, { + pickers.new(opts, { prompt_title = 'Commands', finder = finders.new_table { results = (function() @@ -510,7 +510,7 @@ internal.keymaps = function(opts) end end - pickers.new({}, { + pickers.new(opts, { prompt_title = 'Key Maps', finder = finders.new_table { results = keymaps_table, @@ -530,7 +530,7 @@ end internal.filetypes = function(opts) local filetypes = vim.fn.getcompletion('', 'filetype') - pickers.new({}, { + pickers.new(opts, { prompt_title = 'Filetypes', finder = finders.new_table { results = filetypes, @@ -550,7 +550,7 @@ end internal.highlights = function(opts) local highlights = vim.fn.getcompletion('', 'highlight') - pickers.new({}, { + pickers.new(opts, { prompt_title = 'Highlights', finder = finders.new_table { results = highlights, |
