Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting winfixbuf immediately after startup will cause window duplication #65

Open
saccarosium opened this issue Jan 18, 2025 · 0 comments
Labels
bug issues reporting wrong behavior nvim neovim specific issues

Comments

@saccarosium
Copy link
Owner

Problem

In my case, using vim.schedule fixed this

Ref: kawre/leetcode.nvim#141

Steps to reproduce

-- Run this file as `nvim --clean -u minimal.lua`

for name, url in pairs({
	-- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g:
	-- 'https://github.com/author1/plugin1',
	-- 'https://github.com/author2/plugin2',
}) do
	local install_path = vim.fn.fnamemodify("nvim_issue/" .. name, ":p")
	if vim.fn.isdirectory(install_path) == 0 then
		vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
	end
	vim.opt.runtimepath:append(install_path)
end

-- ADD INIT.LUA SETTINGS _NECESSARY_ FOR REPRODUCING THE ISSUE

vim.api.nvim_set_option_value("winfixbuf", true, {})

Expected behavior

.

Nvim version (nvim -v)

v0.10.2

Vim (not Nvim) behaves the same?

no, 9.1.785

Operating system/version

6.11.5-arch1-1

Terminal name/version

kitty

$TERM environment variable

xterm-kitty

Installation

pacman

original issue: neovim/neovim#30976

@saccarosium saccarosium added bug issues reporting wrong behavior nvim neovim specific issues labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior nvim neovim specific issues
Projects
None yet
Development

No branches or pull requests

1 participant