You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set vim.opt.foldlevel = 3 in my config the neo-tree help menu gets super wonky:
When I remove this or set it to something like vim.opt.foldlevel = 999 things work as expected:
I can't use fold commands to show the text but I can expand/collapse stuff in the help menu using :foldopen a few times on certain items:
Is there something I can do short of disabling foldlevel in my config or is there maybe a way to have the help pop-up have a different fold level or ignore folding? This feels like a bug but it also feels like one of those weird ones where it's my fault for having a lower fold level.
Screenshots, Traceback
No response
Steps to Reproduce
Set vim.opt.foldlevel = 3
Open file explorer
Toggle help
Expected Behavior
Full help menu is displayed without issue
Your Configuration
vim.opt.foldlevel=3-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
-- add any other plugins here
}
localneotree_config= {
"nvim-neo-tree/neo-tree.nvim",
dependencies= { "MunifTanjim/nui.nvim", "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim" },
cmd= { "Neotree" },
keys= {
{ "<Leader>e", "<Cmd>Neotree<CR>" }, -- change or remove this line if relevant.
},
opts= {
-- Your config here-- ...
},
}
table.insert(plugins, neotree_config)
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim Version (nvim -v)
v0.10.0
Operating System / Version
macOS 14.4.1
Describe the Bug
When I set
vim.opt.foldlevel = 3
in my config the neo-tree help menu gets super wonky:When I remove this or set it to something like
vim.opt.foldlevel = 999
things work as expected:I can't use fold commands to show the text but I can expand/collapse stuff in the help menu using
:foldopen
a few times on certain items:Is there something I can do short of disabling
foldlevel
in my config or is there maybe a way to have the help pop-up have a different fold level or ignore folding? This feels like a bug but it also feels like one of those weird ones where it's my fault for having a lower fold level.Screenshots, Traceback
No response
Steps to Reproduce
vim.opt.foldlevel = 3
Expected Behavior
Full help menu is displayed without issue
Your Configuration
The text was updated successfully, but these errors were encountered: