diff options
author | Gregory Anders <greg@gpanders.com> | 2023-12-14 11:37:45 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-12-14 11:38:34 -0600 |
commit | ffeb31c2f962b895bbc7111dd095e4b5ba27e88d (patch) | |
tree | c60e511fdd77cf5abfb9a0d4015a3d96182a45c9 /runtime/lua/vim/termcap.lua | |
parent | ef38fdfdc6c84abd8ce7be02eaf8edc91ebc7917 (diff) | |
download | rneovim-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.lua | 1 |
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+)(.*)$') |