We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.10.1
WSL2 + Ubuntu 22.04 LTS
When there are more than one window, then open neo-tree, the original proportion will not be kept.
No response
3. Open neo-tree, after this, window 1 and window 2 have different sizes:
An option for keeping the original proportion
-- DO NOT change the paths and don't remove the colorscheme 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/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins local plugins = { "folke/tokyonight.nvim", -- add any other plugins here } local neotree_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 -- ... -- Use default }, } table.insert(plugins, neotree_config) require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight")
The text was updated successfully, but these errors were encountered:
This is what I have did to solve this:
{ event = 'neo_tree_window_after_open', handler = function(_) vim.cmd('wincmd =') end },
Sorry, something went wrong.
No branches or pull requests
Did you check docs and existing issues?
Neovim Version (nvim -v)
0.10.1
Operating System / Version
WSL2 + Ubuntu 22.04 LTS
Describe the Bug
When there are more than one window, then open neo-tree, the original proportion will not be kept.
Screenshots, Traceback
No response
Steps to Reproduce
3. Open neo-tree, after this, window 1 and window 2 have different sizes:
Expected Behavior
An option for keeping the original proportion
Your Configuration
The text was updated successfully, but these errors were encountered: