diff options
| author | Simon Zeng <contact@simonzeng.com> | 2020-10-24 23:00:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-24 23:00:22 -0400 |
| commit | 59ef37ded43a77a4c0f35be434f1ea72a407ce84 (patch) | |
| tree | 80e5eef13694cd470c2a7f89b92d2fb3bf4d8976 /lua/telescope/builtin.lua | |
| parent | 5aa20f1f54e54d5b6d5cd66baafcabf02b917a22 (diff) | |
Add telescopes provider (#168)
Amendment: replace the old `builtin`
Diffstat (limited to 'lua/telescope/builtin.lua')
| -rw-r--r-- | lua/telescope/builtin.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index 5e4a06f..7da08f8 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -523,6 +523,10 @@ builtin.builtin = function(opts) }, previewer = previewers.qflist.new(opts), sorter = conf.generic_sorter(opts), + attach_mappings = function(_, map) + map('i', '<CR>', actions.run_builtin) + return true + end }):find() end |
