aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/termcap.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-12-14 11:37:45 -0600
committerGregory Anders <greg@gpanders.com>2023-12-14 11:38:34 -0600
commitffeb31c2f962b895bbc7111dd095e4b5ba27e88d (patch)
treec60e511fdd77cf5abfb9a0d4015a3d96182a45c9 /runtime/lua/vim/termcap.lua
parentef38fdfdc6c84abd8ce7be02eaf8edc91ebc7917 (diff)
downloadrneovim-ffeb31c2f962b895bbc7111dd095e4b5ba27e88d.tar.gz
rneovim-ffeb31c2f962b895bbc7111dd095e4b5ba27e88d.tar.bz2
rneovim-ffeb31c2f962b895bbc7111dd095e4b5ba27e88d.zip
fix(termcap): set 'nested' on TermResponse autocommand
Diffstat (limited to 'runtime/lua/vim/termcap.lua')
-rw-r--r--runtime/lua/vim/termcap.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/termcap.lua b/runtime/lua/vim/termcap.lua
index e48657b3c2..ec29acca48 100644
--- 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+)(.*)$')