Closed distek closed 1 year ago
I'm assuming it has something to do with setting window local options based on what changes were made in that commit?
Edit:
left = {
{
title = "Neo-Tree Buffers",
ft = "neo-tree",
size = { height = 0.15 },
filter = function(buf)
return vim.b[buf].neo_tree_source == "buffers"
end,
pinned = true,
open = "Neotree position=top buffers",
wo = {
winbar = true,
},
},
{
title = "Neo-Tree",
ft = "neo-tree",
filter = function(buf)
return vim.b[buf].neo_tree_source == "filesystem"
end,
open = "Neotree",
pinned = true,
size = { height = 0.85 },
wo = {
winbar = true,
},
},
},
~This for some reason works but my other config didn't...?~
Setting the height
window option caused it to fail in that weird way where it would freeze nvim on exit. Calling it good. Leaving this open so you can see it when you get back.
If you have nothing to add/have no other questions, feel free to close!
Thanks for making this! It's my favorite plugin.
neo-tree still works perfectly fine for me in LazyVim.
There were some big issues upstream that were fixed in the meantime. Maybe check if that fixes this for you?
I'm actually using it just fine after removing the "height" window option so I think we're good! Thanks!
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-473+gb3d5138f
Operating system/version
Both Linux and Macos - OS independent
Describe the bug
Starting from neovim/neovim@b3d5138fd, neo-tree in edgy doesn't work quite right.
Prior to this, opening the left sidebar in my config looked like this:
After the mentioned commit:
Going to investigate further. Wanted to get this noted, though.
Edit: Forgot to note: When using the problem commit, nothing happens after I
toggle("left")
until I press any additional key.Steps To Reproduce
Use this config for edgy:
require("edgy").toggle("left")
Expected Behavior
Neo-tree in Edgy to only split on the left
Repro
No response