diff options
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 {} |
