windex.nvim icon indicating copy to clipboard operation
windex.nvim copied to clipboard

No matching buffer for xxx

Open fgheng opened this issue 2 years ago • 4 comments

Hello, this is a great plugin, I like the maxsize feature, it is so cool, would you like to seperate it as a plugin?

------ split ------- Something goes wrong while I edit the same file in two windows using command maxzise,

E5108: Error executing lua ...site/pack/packer/opt/windex.nvim/lua/windex/maximize.lua:108: Vim(buffer):E94: No matching buffer for ./init.lua
stack traceback:
        [C]: in function 'cmd'
        ...site/pack/packer/opt/windex.nvim/lua/windex/maximize.lua:108: in function 'restore'
        ...site/pack/packer/opt/windex.nvim/lua/windex/maximize.lua:26: in function 'toggle'
        ...vim/site/pack/packer/opt/windex.nvim/lua/windex/init.lua:201: in function 'toggle_nvim_maximize'
        [string ":lua"]:1: in main chunk

fgheng avatar May 04 '22 11:05 fgheng

Thank you!! I will definitely do that hopefully within a day or two :)

I'm not sure what the issue is as I have tried doing the same thing with no errors. Would you be able to share your nvim config or could try maximizing with your other plugins disabled?

declancm avatar May 04 '22 22:05 declancm

hello, recently, I need to take some time to deal with some things. I'll test this problem when I have time

fgheng avatar May 05 '22 02:05 fgheng

No problem! I have separated the maximizing part into its own plugin :)

https://github.com/declancm/maximize.nvim

declancm avatar May 05 '22 13:05 declancm

Hi! Hopefully recent commits have solved this issue. Would you be able to check if you're still having this issue after updating the plugin?

declancm avatar Jul 03 '22 12:07 declancm