leetcode.nvim icon indicating copy to clipboard operation
leetcode.nvim copied to clipboard

its opening 2 window buffers on launch

Open notfatdan opened this issue 1 year ago • 9 comments

image

notfatdan avatar Oct 28 '24 04:10 notfatdan

if u leave them both open it causes really buggy behaviour when the code editor is open as well and starts deleting stuff when you press ctrl s

notfatdan avatar Oct 28 '24 04:10 notfatdan

Seems like it is neovim related issue, but it's fixed for now nonetheless.

kawre avatar Oct 28 '24 07:10 kawre

image I met the same problem on the dashboard and the code editor when I stretch the terminal. I use the lastest commit.

ke-a avatar Nov 23 '24 15:11 ke-a

@ke-a Did you try the temporary fix from https://github.com/neovim/neovim/issues/30976?

kawre avatar Nov 27 '24 01:11 kawre

Yes,but I met this problem too. And I also met the problem on the coding interface when I stretch the terminal. image

ke-a avatar Dec 01 '24 02:12 ke-a

@ke-a Report it there https://github.com/neovim/neovim/issues/30976

kawre avatar Dec 03 '24 19:12 kawre

Yes,but I met this problem too. And I also met the problem on the coding interface when I stretch the terminal. image

having this issue as well -- on resize creates a duplicate neovim window

jackchealdang avatar Feb 16 '25 07:02 jackchealdang

Hello, I’m facing the same problem. For me, the problem part window keeps being split up and down like the picture above. It's fine when i first enter the problem, but if you drastically reduce the window size, it gets split like that.

I’ve tried everything I could find, but I still can't figure it out. If anyone has solved this issue, please let me know.

i use lunarvim.

Carrotww avatar Feb 19 '25 08:02 Carrotww

i think Maybe you use VimResized command "wincmd ="

autocmd("VimResized", {
  pattern = "*",
  command = "tabdo wincmd =",
})

Solution

autocmd("VimResized", {
  pattern = "*",
  callback = function()
    local ft = vim.bo.filetype

    if "leetcode.nvim" ~= ~= vim.fn.argv(0, -1) then
      vim.cmd("tabdo wincmd =")
    end
  end,
})

Yanguk avatar Mar 06 '25 10:03 Yanguk