refactor(diagnostic): remove deprecated function (#20423)

This commit is contained in:
Raphael
2022-10-01 23:36:11 +08:00
committed by GitHub
parent 9353e2f7ef
commit a5e347ce1d

View File

@@ -357,19 +357,6 @@ local function execute_scheduled_display(namespace, bufnr)
M.show(namespace, bufnr, nil, args)
end
--- @deprecated
--- Callback scheduled when leaving Insert mode.
---
--- called from the Vimscript autocommand.
---
--- See @ref schedule_display()
---
---@private
function M._execute_scheduled_display(namespace, bufnr)
vim.deprecate('vim.diagnostic._execute_scheduled_display', nil, '0.9')
execute_scheduled_display(namespace, bufnr)
end
--- Table of autocmd events to fire the update for displaying new diagnostic information
local insert_leave_auto_cmds = { 'InsertLeave', 'CursorHoldI' }