commit ffeb31c2f962b895bbc7111dd095e4b5ba27e88d
parent ef38fdfdc6c84abd8ce7be02eaf8edc91ebc7917
Author: Gregory Anders <greg@gpanders.com>
Date: Thu, 14 Dec 2023 11:37:45 -0600
fix(termcap): set 'nested' on TermResponse autocommand
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/runtime/lua/vim/termcap.lua b/runtime/lua/vim/termcap.lua
@@ -34,6 +34,7 @@ function M.query(caps, cb)
local timer = assert(vim.uv.new_timer())
local id = vim.api.nvim_create_autocmd('TermResponse', {
+ nested = true,
callback = function(args)
local resp = args.data ---@type string
local k, rest = resp:match('^\027P1%+r(%x+)(.*)$')