-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Error opening plenary.nvim
popups: E592: 'winwidth' cannot be smaller than 'winminwidth'
#138
Comments
I am also experiencing this 😭 |
@rustysec, as a workaround, you can remove |
I took it out, but telescope still causes the error 🤷♂️ I haven't spent any time trying to debug it at this point, maybe I will have some time later. |
I will try to look into this today, definitely important to get this working ASAP. I haven't been able to reproduce without the minwidth property set though, not sure what would be causing that. |
I'm using it inside my lazyvim config, the telescope error pops without any setup params or with the defaults minus the |
Sounds good, thanks! |
It's working. Brilliant! Thank you. |
I am still experiencing this issue with all popup windows does anyone have a fix for this? |
Do you use master? Can you provide a reproducer? Here is a minimal config file you can modify. Save as repro.lua and run with -- DO NOT change the paths and don't remove focus :-)
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/nvim-focus/focus.nvim", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"nvim-focus/focus.nvim",
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
require('focus').setup()
-- add anything else here |
I have checked that the problem keeps happening in sessions created with the latest version when restoring sessions early after opening Neovim. This is more noticeable in weak processors like ARM, when typically around 5 seconds must be waited before restoring the session to not get the error. Apart from the notification message, the result is barbar buffers are not loaded in my case. Note: I have set Thanks! |
a) This issue is already closed as it has been fixed, if you're running into a new issue please create a new bug |
OK, I'm busy now but I will open a new issue in a couple of weeks, thanks. |
I've followed this advise still have same issue |
I have tried to reproduce it using the repro.lua without success, but I have read the session files and I have noticed that removing the forced Thanks! |
Maybe you are using lazyvim? They set minwidth default option as I mentioned in readme in recent pr, you can try comment out that setting in lazyvim’s option.lua. |
Exactly, I use LazyVim and they set Setting it to 0 in Thanks! |
Steps to reproduce:
nvim -u vimrc
(minimalvimrc
below)plenary.nvim
popup with<leader>fg
(<leader>
is configured to be<space>
)I figured out that
is the source of the error, once the
minwidth
is removed, no error is thrown.Minimal Vimrc:
(using
vundle
for package management)NeoVim Version:
Full Error:
The text was updated successfully, but these errors were encountered: