willothy / flatten.nvim

Open files and command output from wezterm, kitty, and neovim terminals in your current neovim instance
https://luarocks.org/modules/willothy/flatten.nvim
MIT License
473 stars 13 forks source link

Commits on August 10 Don't respect the window --> open setting #66

Closed jam1015 closed 1 year ago

jam1015 commented 1 year ago

Describe the bug I open a terminal in neovim and open a random file, in my case ~/haha.md. My setting says to open it in the current window/tab but a new tab is opened instead.

To Reproduce Install flatten with Lazy.nvim as you normally would. Open a neovim terminal and enter nvim [some file]

Expected behavior File should open in the same tab/window.

Desktop (please complete the following information):

Additional context The problem is solved by going to commits from previous days; 07e9496191653587336b4c8f8cab02e5c34c7c44 works as expected

willothy commented 1 year ago

Windows and tabs are very different things in Vim, there may be some confusion here. Please provide a minimal init file and possibly a screencap of the issue so that i can help figure this out :) Thanks!

Edit: I see, somehow the "current" option check got removed. I'll fix that today.