builtin.fd -> builtin.find_files
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user