Closed krishnakumarg1984 closed 2 years ago
Did you try setting neo-tree as an ignored file/buffer type?
https://github.com/mrjones2014/smart-splits.nvim#configuration
Yes. I have tried it. It still exhibits the same behavior.
what is ""
? it doesn't do anything for me
what is ""? it doesn't do anything for me
Apologies. I didn't quite understand what you meant.
Edit: Ah. It was a github rendering issue. I updated the text with explicit wording so that the Github renderer doesn't swallow it up.
Ah, okay.
I can reproduce using nvim-tree
(which is what I have installed) now. I typically have my tree on the right which is why I haven't noticed it.
Ah. I have my symbols outline to the right and file explorer to the left. This is probably why I noticed this issue.
@krishnakumarg1984 can you verify if it's fixed for you by 620e38da2d3afc562523765b46e759e0141a6d69? I just pushed this commit to master and it fixes it for me.
@mrjones2014 Yay! That fixed it. Thank you so much. I haven't added neo-tree
to ignored file types. This now works for me even without it.
@mrjones2014 This is now regressing unfortunately.
When a tree explorer window such as
neo-tree
is open to the left in a vertical split to the current buffer,smart-splits
does not work as expected. In fact, it has the opposite behavior. When resizing the main buffer with "Ctrl+left", it resizes to the right, making the current buffer smaller and filetree buffer larger. Similarly, the opposite behavior is noted with "<Ctrl + right>".