From 8a5eb31cbedf67ac81dd23c72497674f9d0d2d78 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Thu, 19 Dec 2024 07:38:19 -0800 Subject: [PATCH] fix: workaround neovim/neovim#31633 https://github.com/neovim/neovim/issues/31633 ref: #1599 --- lua/fzf-lua/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/fzf-lua/utils.lua b/lua/fzf-lua/utils.lua index 1beab28c..75573745 100644 --- a/lua/fzf-lua/utils.lua +++ b/lua/fzf-lua/utils.lua @@ -1107,7 +1107,7 @@ end -- Taken from `runtime/lua/vim/_system.lua` -- will raise exception without timeout on 32-bit systems (#1599) -local MAX_TIMEOUT = 2 ^ 31 +local MAX_TIMEOUT = 2 ^ 31 - 1 ---@param cmd string[] ---@return string[] lines in the stdout or stderr, separated by '\n'