Skip to content

The plugin does not work when other floating windows exist #8

@wookayin

Description

@wookayin

Hello, I wonder if you are still maintaining the plugin as there has been no update since 2015, but this plugin doesn't work in the precense of floating windows (neovim 0.4.0+ or vim 8.1).

Specifically, when some floating windows get created and are around, they affect winrestcmd() and as a result the winrestcmd command does nothing. I am experiencing this issue because I have such a plugin like https://github.com/dstein64/nvim-scrollview.

How to reproduce:

  • Use neovim 0.5.1
  • Install dstein64/nvim-scrollview
  • Open some windows, and do :MaximizerToggle; this will maximize the current window
  • Do :MaximizerToggle again --- the window layout does not get restored.

I confirmed that the following line is executed but has no effect (when the window layout has changed due to the "floating" scrollview window):

exe t:maximizer_sizes.before

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions