1

Update generated neovim config

This commit is contained in:
2024-09-22 20:41:25 +02:00
parent 1743764e48
commit aa1271c42c
1247 changed files with 26512 additions and 15067 deletions

View File

@ -3,8 +3,13 @@ _G.process_log = {}
local n_pid, n_stdout = 0, 0
local new_process = function(pid)
return {
_is_active_indicator = true,
pid = pid,
close = function(_) table.insert(_G.process_log, 'Process ' .. pid .. ' was closed.') end,
is_active = function(process) return process._is_active_indicator end,
close = function(process)
process._is_active_indicator = false
table.insert(_G.process_log, 'Process ' .. pid .. ' was closed.')
end,
}
end
@ -47,4 +52,7 @@ vim.loop.spawn = function(path, options, on_exit)
return new_process(pid), pid
end
vim.loop.process_kill = function(process) table.insert(_G.process_log, 'Process ' .. process.pid .. ' was killed.') end
vim.loop.process_kill = function(process)
process._is_active_indicator = false
table.insert(_G.process_log, 'Process ' .. process.pid .. ' was killed.')
end