nvim-upgrade #4

Merged
tomas.mirchev merged 13 commits from nvim-upgrade into main 2025-10-20 13:57:14 +00:00
Showing only changes of commit ca5c511a10 - Show all commits

View File

@ -12,7 +12,16 @@ function Fuzzy.open()
Fuzzy.active = true
-- Collect all files once (cached for speed)
Fuzzy.files = vim.fn.globpath('.', '**/*', 0, 1)
-- Fuzzy.files = vim.fn.globpath('.', '**/*', 0, 1)
local handle = io.popen('fdfind --type f --hidden --exclude .git')
if handle then
local result = handle:read('*a')
handle:close()
Fuzzy.files = vim.split(result, '\n', { trimempty = true })
else
Fuzzy.files = {}
end
Fuzzy.matches = Fuzzy.files
Fuzzy.cursor = 1