Skip to content

Commit 2a95a1d

Browse files
authored
fix(aucmd_defertimeout): increasing defer timeout
increasing window enter/leave defer timeout in order to leave other list-populating aucmds time to finish first
1 parent fcf100c commit 2a95a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/qf.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -870,15 +870,15 @@ function qf.setup_autocmds(config)
870870
au("WinEnter", function()
871871
vim.defer_fn(function()
872872
open(k, true, true)
873-
end, 50)
873+
end, 1000)
874874
end)
875875
end
876876

877877
if list.auto_open then
878878
au("QuickFixCmdPost", function()
879879
vim.defer_fn(function()
880880
open(k, true, true)
881-
end, 50)
881+
end, 1000)
882882
end, { pattern = list_post_commands(k) })
883883
end
884884
end

0 commit comments

Comments
 (0)