From 6c356b8ad7df84c10fdef354dc30031bf4523e31 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Fri, 6 Sep 2024 21:34:03 +0200 Subject: [PATCH] fix: remove hack that is causing validation not to appear --- lua/frecency/klass.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/frecency/klass.lua b/lua/frecency/klass.lua index 0e3d172..a1dc0b4 100644 --- a/lua/frecency/klass.lua +++ b/lua/frecency/klass.lua @@ -138,9 +138,6 @@ function Frecency:_validate_database(force) timer.track "validate_database() finish: removed" return end - -- HACK: This is needed because the default implementaion of vim.ui.select() - -- uses vim.fn.* function and it makes E5560 error. - async.util.scheduler() vim.ui.select({ "y", "n" }, { prompt = "\n" .. self:message("remove %d entries from database?", #unlinked), ---@param item "y"|"n"