mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
refactor(diagnostic): remove deprecated function (#20423)
This commit is contained in:
@@ -357,19 +357,6 @@ local function execute_scheduled_display(namespace, bufnr)
|
|||||||
M.show(namespace, bufnr, nil, args)
|
M.show(namespace, bufnr, nil, args)
|
||||||
end
|
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
|
--- Table of autocmd events to fire the update for displaying new diagnostic information
|
||||||
local insert_leave_auto_cmds = { 'InsertLeave', 'CursorHoldI' }
|
local insert_leave_auto_cmds = { 'InsertLeave', 'CursorHoldI' }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user