We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40548af commit 3893f70Copy full SHA for 3893f70
1 file changed
lua/treesitter-matchup/internal.lua
@@ -74,7 +74,7 @@ local get_lang_matches = function(bufnr, root, lang, srow, erow)
74
local last_time = vim.uv.hrtime()
75
local check_interrupt = function()
76
if vim.uv.hrtime() - last_time > 100e6 then
77
- local got_int = select(2, vim.wait(1)) == -2
+ local got_int = select(2, vim.wait(0)) == -2
78
if got_int then error('Interrupted') end
79
last_time = vim.uv.hrtime()
80
end
0 commit comments