Skip to content

Commit 2661d4f

Browse files
committed
bugfix
1 parent 93e7ba3 commit 2661d4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/easycomplete/cmdline.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,9 @@ function this.do_path_complete()
433433
this.cmp_regex_handler(function()
434434
return this.get_path_cmp_items()
435435
end, this.get_typing_word())
436-
this.pum_redraw()
436+
vim.defer_fn(function()
437+
this.pum_redraw()
438+
end, 10)
437439
end
438440

439441
function this.get_path_cmp_items()

0 commit comments

Comments
 (0)