Closed kohane27 closed 2 years ago
[..] I'm trying to zoom in on the pane created by nvim-pack/nvim-spectre and it doesn't work.
I have made some updates so your keymap should work. But to have better UX there need so more updates. You will need to update your setup {}
:
require('neo-zoom').setup {
-- other config options
-- ...
-- add the following
exclude_filetype = {
'spectre-panel'
}
}
Does it mean that NeoZoom only works on "normal file buffers"? [...]
NeoZoom was designed to have no effect on any nofile
buffer, which might be created by plugin like windwp/nvim-spectre
in your case. This can be changed so no worries.
Thanks for the report, this is a good issue that will improve the compatibility of this plugin a lot when resolved.
Let me know if these updates work.
Hello @nyngwang . Hope you're doing well.
It works perfectly:
Thank you for such a quick update. I really appreciate it:)
Hello @nyngwang . Hope you're doing well. Thank you for creating such a handy and awesome plugin.
This plugin works perfectly on normal buffers. However, I'm trying to zoom in on the pane created by nvim-pack/nvim-spectre and it doesn't work:
The left side is created by the cmd
:Spectre
.To reproduce:
:Spectre
to start find and replace by Spectre<C-w>m
)Does it mean that NeoZoom only works on "normal file buffers"? I'm not asking to have NeoZoom support specfically for Spectre; just trying to understand if it's a bug or a limitation of NeoZoom. dhruvasagar/vim-zoom works on Spectre pane but it creates extra buffers when closing.
Config:
NeoZoom.lua:
OS: Linux NVIM v0.7.0 Build type: Release LuaJIT 2.1.0-beta3
Any input is much appreciated. Thank you:)