mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix: another round of type annotation fixes
This commit is contained in:
committed by
Lewis Russell
parent
0ab4d36254
commit
1d4ba8c1ed
@@ -38,7 +38,7 @@ function M.query(caps, cb)
|
||||
local k, rest = resp:match('^\027P1%+r(%x+)(.*)$')
|
||||
if k and rest then
|
||||
local cap = vim.text.hexdecode(k)
|
||||
if not pending[cap] then
|
||||
if not cap or not pending[cap] then
|
||||
-- Received a response for a capability we didn't request. This can happen if there are
|
||||
-- multiple concurrent XTGETTCAP requests
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user