v2.3.1
New command
CompilerStop
: dispose all tasks.
This can be useful for users who want to build a key mapping like
-- Stop all tasks and redo
vim.api.nvim_buf_set_keymap(0, 'n', '<S-F6>', function()
vim.cmd(CompilerStop)
vim.cmd(CompilerRedo)
end", { noremap = true, silent = true })
To prevent tasks from accumulating.