diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-10 11:16:10 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-10 11:16:10 -0400 |
| commit | 969e49c5775732cfc0b8a05c079147bc1bab2abf (patch) | |
| tree | 75dead89c5e3332a73795b61cb72b79cff2ba863 /lua | |
| parent | e1ded1a01db26296d89f3353ee1f152e97629df1 (diff) | |
builtin.fd -> builtin.find_files
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/builtin.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index 6e266cd..0819bea 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -314,7 +314,7 @@ end -- TODO: Maybe just change this to `find`. -- Support `find` and maybe let peopel do other stuff with it as well. -builtin.fd = function(opts) +builtin.find_files = function(opts) opts = opts or {} local fd_string = nil @@ -325,7 +325,7 @@ builtin.fd = function(opts) end if not fd_string then - print("You need to install fd") + print("You need to install fd or submit PR for different default file finder :)") return end @@ -347,6 +347,9 @@ builtin.fd = function(opts) }):find() end +-- Leave this alias around for people. +builtin.fd = builtin.find_files + -- TODO: This is partially broken, but I think it might be an nvim bug. builtin.buffers = function(opts) opts = opts or {} |
