mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(termcap): set 'nested' on TermResponse autocommand
This commit is contained in:
parent
ef38fdfdc6
commit
ffeb31c2f9
@ -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+)(.*)$')
|
||||
|
Loading…
Reference in New Issue
Block a user