We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b01f95 commit 0523fe3Copy full SHA for 0523fe3
lua/fff/core.lua
@@ -28,7 +28,13 @@ local function setup_global_autocmds(config)
28
29
vim.uv.fs_realpath(file_path, function(rp_err, real_path)
30
if rp_err or not real_path then return end
31
- pcall(fuzzy.track_access, real_path)
+ local ok, track_err = pcall(fuzzy.track_access, real_path)
32
+
33
+ if not ok then
34
+ vim.schedule(
35
+ function() vim.notify('FFF: Failed to track file access: ' .. tostring(track_err), vim.log.levels.ERROR) end
36
+ )
37
+ end
38
end)
39
40
end,
0 commit comments