nvim: Remove fixed term sigwinch timer
This commit is contained in:
parent
1d0f47f2e8
commit
9fb1f958e6
1 changed files with 0 additions and 12 deletions
|
@ -18,18 +18,6 @@ vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
|||
group = vim.api.nvim_create_augroup("passnoleak", { clear = true }),
|
||||
})
|
||||
|
||||
-- fixing neovim opening up at same moment as alacritty (see https://github.com/neovim/neovim/issues/11330)
|
||||
vim.api.nvim_create_autocmd({ "VimEnter" }, {
|
||||
callback = function()
|
||||
local pid, WINCH = vim.fn.getpid(), vim.loop.constants.SIGWINCH
|
||||
vim.defer_fn(function()
|
||||
vim.loop.kill(pid, WINCH)
|
||||
end, 20)
|
||||
end,
|
||||
desc = "Fix neovim sizing issues if opening same time as alacritty",
|
||||
group = vim.api.nvim_create_augroup("alacritty_fixsize", { clear = true }),
|
||||
})
|
||||
|
||||
-- remove line numbers from terminal buffers
|
||||
vim.api.nvim_create_autocmd({ "TermOpen" }, {
|
||||
desc = "Hide buffer numbers for terminals",
|
||||
|
|
Loading…
Reference in a new issue